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

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    2ecbccb View commit details
    Browse the repository at this point in the history
  2. Cast points in eqs to the desired dtype

    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.
    santisoler committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    be74a18 View commit details
    Browse the repository at this point in the history
  3. Update examples in docstrings to support Numpy 2

    Convert Numpy scalars to Python numbers so the outputs of examples that
    are being compared when running doctests support Numpy>=2.0.
    santisoler committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    dedd9b9 View commit details
    Browse the repository at this point in the history