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

Extend support for Numpy 2.0 #514

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Extend support for Numpy 2.0 #514

merged 3 commits into from
Jun 18, 2024

Conversation

santisoler
Copy link
Member

@santisoler santisoler commented Jun 18, 2024

Convert Numpy scalars to Python numbers so the outputs of examples that are being compared when running doctests support Numpy>=2.0. Cast points in equivalent source classes to the desired dtype passed as argument.

Solve issue raised by tests running with Numpy 2.0, where the equivalent
sources' `points` coordinates didn't have the desired `dtype` passed as
argument.
Convert Numpy scalars to Python numbers so the outputs of examples that
are being compared when running doctests support Numpy>=2.0.
@santisoler santisoler marked this pull request as ready for review June 18, 2024 19:12
@santisoler santisoler merged commit f6d52b9 into main Jun 18, 2024
19 checks passed
@santisoler santisoler deleted the numpy2 branch June 18, 2024 19:17
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.

None yet

1 participant