Skip to content

Use entity coordinate type for rounded result#192

Merged
gpeairs merged 2 commits intomainfrom
gp/fix-promote-unit
Mar 31, 2026
Merged

Use entity coordinate type for rounded result#192
gpeairs merged 2 commits intomainfrom
gp/fix-promote-unit

Conversation

@gpeairs
Copy link
Copy Markdown
Member

@gpeairs gpeairs commented Mar 30, 2026

There's no need to promote with the rounding coordinate type. Just preserve the entity's coordinate type (at most make it a float). This also avoids one way to encounter the issue fixed by JuliaPhysics/Unitful.jl#845 before that fix is merged and tagged.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gpeairs gpeairs changed the title Use curvilinear polygon coordinate type for rounded result Use entity coordinate type for rounded result Mar 31, 2026
@gpeairs gpeairs mentioned this pull request Mar 31, 2026
@gpeairs gpeairs merged commit fcf83c5 into main Mar 31, 2026
10 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.

1 participant