Skip to content

fix: require lookup coordinate is floating when mode is nearest#3779

Merged
jokasimr merged 2 commits intomainfrom
fix-lookup
Oct 22, 2025
Merged

fix: require lookup coordinate is floating when mode is nearest#3779
jokasimr merged 2 commits intomainfrom
fix-lookup

Conversation

@jokasimr
Copy link
Copy Markdown
Contributor

Fixes https://github.com/scipp/esspolarization/actions/runs/18703900087/job/53338032043#step:6:161 in the sense that it requires the lookup coordinate to be float, so it will raise a clearer error message.

The lookup table code is not tested with coords having integer dtype, I'm not sure that results are even correct in that case, so I opted for just adding the exception here for now.
Maybe we should consider adding support for integer lookup coordinates in the future.

@jokasimr jokasimr merged commit aa66736 into main Oct 22, 2025
4 checks passed
@jokasimr jokasimr deleted the fix-lookup branch October 22, 2025 13:05
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