Skip to content

Nodes iterator resets for an area-incomplete node with one site #7

@GeorgySk

Description

@GeorgySk

When the polygon is area-incomplete and contains only one site, we should advance to the next node, but currently, the nodes iterator is getting reset, which leads to repeating the already visited nodes on the next steps.

A possible solution is to add continue after these lines:
https://github.com/LostFan123/pode/blob/30c9f9725ccf760d98c8f37924e5d31ddf452972/pode/pode.py#L333-L334

But this should be checked more carefully.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions