Skip to content

Conversation

jorenham
Copy link
Contributor

@jorenham jorenham commented Jun 9, 2025

Since numpy>=2.1, the float64 and complex128 scalar types differ from double and cdouble (see numpy/numpy#29151 for details and numpy/numpy#29155 for the fix). The sized types are (almost always) preferred. And usually, that's already done here. But this case what a bit of an exception, so I corrected it.

@KelSolaar KelSolaar changed the title prefer complex64 and complex128 over csingle and cdouble PR: Prefer complex64 and complex128 over csingle and cdouble. Sep 2, 2025
@KelSolaar KelSolaar changed the base branch from develop to feature/scalar-type-aliases-staging September 2, 2025 07:09
@KelSolaar KelSolaar merged commit b43588c into colour-science:feature/scalar-type-aliases-staging Sep 2, 2025
13 of 16 checks passed
@KelSolaar
Copy link
Member

Thanks @jorenham!

@jorenham jorenham deleted the feature/scalar-type-aliases branch September 2, 2025 13:47
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