Commit 300dc115 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix find_vertex()

This changes degree_selector(). Now all properties should be tested, not
only scalar properties. Later it can be decided which properties are
parent e1dd1665
......@@ -38,7 +38,7 @@ boost::any graph_tool::degree_selector(GraphInterface::deg_t deg)
catch (bad_get)
bool found = false;
(bind<void>(get_scalar_selector(), _1, boost::get<boost::any>(deg),
var(sel), var(found)));
if (!found)
Supports Markdown
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