Skip to content

Fix: clear m_stop_vertices unconditionally in set_stop_conditions#239

Merged
nmwsharp merged 1 commit intonmwsharp:masterfrom
selaytekgul:fix/clear-stop-vertices-on-propagate
Apr 26, 2026
Merged

Fix: clear m_stop_vertices unconditionally in set_stop_conditions#239
nmwsharp merged 1 commit intonmwsharp:masterfrom
selaytekgul:fix/clear-stop-vertices-on-propagate

Conversation

@selaytekgul
Copy link
Copy Markdown
Contributor

Clear m_stop_vertices unconditionally in set_stop_conditions to prevent stale stop vertex accumulation when reusing GeodesicAlgorithmExact instances across multiple propagate() calls.

@nmwsharp
Copy link
Copy Markdown
Owner

I haven't actually tested this, but it looks like a blatant bug to me so I'm going to go ahead and merge it.

Thank you for submitting this fix!

@nmwsharp nmwsharp merged commit 27bbd7c into nmwsharp:master Apr 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants