projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.57.0
[platform/upstream/boost.git]
/
libs
/
graph
/
test
/
boykov_kolmogorov_max_flow_test.cpp
diff --git
a/libs/graph/test/boykov_kolmogorov_max_flow_test.cpp
b/libs/graph/test/boykov_kolmogorov_max_flow_test.cpp
index
17607fc
..
1f0ce58
100644
(file)
--- a/
libs/graph/test/boykov_kolmogorov_max_flow_test.cpp
+++ b/
libs/graph/test/boykov_kolmogorov_max_flow_test.cpp
@@
-218,7
+218,8
@@
long test_overloads(int n_verts, int n_edges, std::size_t seed){
get(edge_capacity,g),
get(edge_residual_capacity,g),
get(edge_reverse,g),
- &(color_vec[0]),
+ boost::make_iterator_property_map(
+ color_vec.begin(), get(vertex_index, g)),
get(vertex_index,g),
src, sink);