Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
a510c363
Commit
a510c363
authored
Nov 04, 2007
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix label-parallel-edges property type
It should be 'size_t' instead of 'long'.
parent
8ed48c65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph/graph.cc
src/graph/graph.cc
+1
-1
No files found.
src/graph/graph.cc
View file @
a510c363
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment