diff --git a/include/boost/graph/dijkstra_shortest_paths.hpp b/include/boost/graph/dijkstra_shortest_paths.hpp index 41d581c5..821923fc 100644 --- a/include/boost/graph/dijkstra_shortest_paths.hpp +++ b/include/boost/graph/dijkstra_shortest_paths.hpp @@ -211,7 +211,7 @@ namespace boost { put(distance, s, zero); dijkstra_shortest_paths_no_init(g, s, predecessor, distance, weight, - index_map, compare, combine, inf, zero, vis); + index_map, compare, combine, zero, vis); } namespace detail {