Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/Voronoi issue #79

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

OpheliaMiralles
Copy link
Contributor

@OpheliaMiralles OpheliaMiralles commented Nov 18, 2024

Add management of empty lists in regions. np.asarray([]) returns an array with dtype float64, whereas the code from scipy expects int64.

Fixes #45


📚 Documentation preview 📚: https://anemoi-graphs--79.org.readthedocs.build/en/79/

@FussyDuck
Copy link

FussyDuck commented Nov 18, 2024

CLA assistant check
All committers have signed the CLA.

@OpheliaMiralles OpheliaMiralles changed the title Fix/voronoi issue Fix/Voronoi issue Nov 18, 2024
Copy link
Member

@JPXKQX JPXKQX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! This solves a long-standing issue for many users.

@JPXKQX JPXKQX merged commit 1c95900 into ecmwf:develop Nov 21, 2024
16 checks passed
@JPXKQX JPXKQX mentioned this pull request Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Buffer dtype mismatch, expected 'npy_intp' but got 'double'
3 participants