Skip to content

Commit

Permalink
vertex is constrained if NOT allowed to move
Browse files Browse the repository at this point in the history
  • Loading branch information
janetournois committed Nov 18, 2024
1 parent 7462b70 commit 21e1ff1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ namespace internal {
// property map of constrained vertices for relaxation
auto vertex_constraint = [&](const vertex_descriptor v)
{
return is_move_allowed(v, relax_constraints);
return !is_move_allowed(v, relax_constraints);
};
auto constrained_vertices_pmap
= boost::make_function_property_map<vertex_descriptor>(vertex_constraint);
Expand Down

0 comments on commit 21e1ff1

Please sign in to comment.