Commit a510c363 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix label-parallel-edges property type

It should be 'size_t' instead of 'long'.
parent 8ed48c65
......@@ -584,7 +584,7 @@ void GraphInterface::LabelParallelEdges(string property)
}
catch (property_not_found)
{
typedef vector_property_map<long,edge_index_map_t> parallel_map_t;
typedef vector_property_map<size_t,edge_index_map_t> parallel_map_t;
parallel_map_t parallel_map(_edge_index);
check_filter(*this, bind<void>(label_parallel_edges(), _1, _edge_index, parallel_map), reverse_check(), directed_check());
_properties.property(property, parallel_map);
......
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