Repository navigation
fix: smooth contour spacing returned an unevaluated spacing after max_iter - #424
Merged
paulmueller merged 1 commit intoNov 19, 2026
Conversation
…_iter The spacing was halved at the end of every iteration, also after the last one. Now the spacing is halved at the beginning of the next iteration, so the returned spacing is always the last one evaluated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
paulmueller-agent
force-pushed
the
fix/smooth-contour-last-spacing
branch
from
November 19, 2026 09:31
87d3ef7 to
dc685bc
Compare
paulmueller
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
find_smooth_contour_spacinghalvedxacc/yaccat the end of every iteration in which the contours were not smooth enough, including the last one. Whenmax_iterwas reached, the returned spacing had never been evaluated (half of the last evaluated spacing). The spacing is now halved at the beginning of the following iteration, so the returned spacing (and "corners found") always belong to the last evaluated iteration. This also applies to an abort at the beginning of an iteration.test_find_smooth_contour_spacing_max_iter: pinned spacings updated (now the initial estimate, i.e. twice the previous values). All other pinned values are unchanged; full test suite passes locally.🤖 Generated with Claude Code