Commit f6c1f995 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix bug in astar_iterator()

parent 0a0d95c4
Pipeline #61 passed with stage
......@@ -189,8 +189,9 @@ boost::python::object astar_search_generator_fast(GraphInterface& g,
writable_vertex_scalar_properties(),
edge_scalar_properties())(dist_map, weight);
};
#else
return boost::python::object(AStarGenerator(dispatch));
#else
throw GraphException("This functionality is not available because boost::coroutine was not found at compile-time")
#endif
}
......
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