mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-31 20:22:09 +00:00
[traverse] fix bug in new code, should have been rwd.turn_index
This commit is contained in:
@@ -519,8 +519,8 @@ struct traversal
|
||||
{
|
||||
int region_id = -1;
|
||||
std::set<int> visited;
|
||||
visited.insert(turn_index);
|
||||
if (get_isolated_region_id(region_id, visited, incoming_region_id, turn_index))
|
||||
visited.insert(rwd.turn_index);
|
||||
if (get_isolated_region_id(region_id, visited, incoming_region_id, rwd.turn_index))
|
||||
{
|
||||
outgoing_region_ids.insert(region_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user