Commit 5b7bd8c5 authored by incardon's avatar incardon

Fixing Graph VTK writers

parent eba48bad
Pipeline #2331 passed with stages
in 45 seconds
......@@ -611,6 +611,7 @@ public:
template<typename Graph, unsigned int i>
class prop_output<false, Graph, i>
{
public:
/*! \brief Return the point data section for a graph g
*
* \param g graph
......@@ -774,7 +775,7 @@ class prop_output<false, Graph, i>
*/
static std::string get_attributes_vertex()
{
return Graph::V_type::attributes::name[i];
return std::string("attr" + std::to_string(i));
}
/*! \brief Get the attributes name for edge
......@@ -784,7 +785,7 @@ class prop_output<false, Graph, i>
*/
static std::string get_attributes_edge()
{
return Graph::E_type::attributes::name[i];
return std::string("attr" + std::to_string(i));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment