Skip to content

fix: typo bug in max point interpolation: instead of x() and y(), it uses y() twice - #3169

Merged
davisking merged 2 commits into
davisking:masterfrom
lippinj:upstream-fix-1
Oct 17, 2026
Merged

davisking merged 2 commits into
davisking:masterfrom
lippinj:upstream-fix-1

Conversation

@lippinj

@lippinj lippinj commented Oct 16, 2026

Copy link
Copy Markdown

The second index in the 3x3 neighbourhood access used p.y() for both row and column, making the lookup walk along a column instead of a row. The column index should be p.x().

Joonas Lipping and others added 2 commits October 16, 2026 08:25
The second index in the 3x3 neighbourhood access used p.y() for both
row and column, making the lookup walk along a column instead of a row.
The column index should be p.x().

Copy link
Copy Markdown
Owner

Thanks @lippinj for catching this! I added regression tests for off-axis maxima and rectangular matrices, and updated the tracker reference score to match the corrected interpolation while keeping the existing tolerances.

@davisking
davisking merged commit b4ac050 into davisking:master Oct 17, 2026
13 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.

2 participants