Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
23fa373d
Commit
23fa373d
authored
Feb 28, 2013
by
Tiago Peixoto
Browse files
Fix potential bug in graph_distance.hh
parent
fdf7b485
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/stats/graph_distance.hh
View file @
23fa373d
...
...
@@ -91,7 +91,7 @@ struct get_distance_histogram
for
(
size_t
j
=
0
;
j
<
size_t
(
N
);
++
j
)
{
if
(
vertex
(
i
,
g
)
!=
graph_traits
<
Graph
>::
null_vertex
())
if
(
vertex
(
j
,
g
)
!=
graph_traits
<
Graph
>::
null_vertex
())
dist_map
[
vertex
(
j
,
g
)]
=
numeric_limits
<
val_type
>::
max
();
}
...
...
Write
Preview
Supports
Markdown
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