Skip to content

Example fixes #33

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Example fixes #33

wants to merge 2 commits into from

Conversation

mstekiel
Copy link

Upon testing the provided examples I found some minor issues.

AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
from pygsl.testing.sf import legendre_Plm, laguerre_n
except ImportError:
from scipy.special import eval_genlaguerre as laguerre_n
from scipy.special import assoc_legendre_p as legendre_Plm
Copy link
Contributor

Choose a reason for hiding this comment

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

needs scipy 1.15

@cfelder
Copy link
Contributor

cfelder commented Apr 23, 2025

Thanks for your contribution. I've added your ptp fix including further occurrences to our internal CI system.

I'll discuss your scipy change separately b/c it needs a most-recent scipy that is not even include in Fedora Rawhide.

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