Skip to content

Compare heights as double in lowest-point sort - #618

Merged
michalpelka merged 1 commit into
MapsHD:mainfrom
capCafu:fix-lowest-points-sort
Nov 5, 2026
Merged

michalpelka merged 1 commit into
MapsHD:mainfrom
capCafu:fix-lowest-points-sort

Conversation

@capCafu

@capCafu capCafu commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Closes #613.

The comparator now takes double heights, matching the sorted vector. Before, heights were cut to whole metres and negative ones overflowed.

Tested on Linux.

@michalpelka
michalpelka merged commit 5bb54e0 into MapsHD:main Nov 5, 2026
7 checks passed
@capCafu
capCafu deleted the fix-lowest-points-sort branch November 5, 2026 09:28
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.

Precision forestry: lowest-point sort compares heights as whole metres (UB for negative z)

2 participants