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

DeprecationWarning for scipy: quadpack #384

Open
hyanwong opened this issue Jun 4, 2024 · 2 comments
Open

DeprecationWarning for scipy: quadpack #384

hyanwong opened this issue Jun 4, 2024 · 2 comments

Comments

@hyanwong
Copy link
Member

hyanwong commented Jun 4, 2024

I'm getting this in the test suite. I guess this is a variational_gamma think @nspope, and would be relatively easy to correct @nspope?

tests/test_functions.py: 1260 warnings
  /Users/yan/miniforge3/lib/python3.10/site-packages/scipy/integrate/_quadpack_py.py:613: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    return _quadpack._qagie(func, bound, infbounds, args, full_output,
@nspope
Copy link
Contributor

nspope commented Jun 4, 2024

I think this is a scipy issue (not fixable by us) -- but I'll check.

@nspope
Copy link
Contributor

nspope commented Jun 4, 2024

Oh, actually, I was planning on removing the quadrature here anyway, in favor of exact solutions (the quadrature can live in a separate validation notebook; it's annoyingly slow and unstable to include in the tests). The warning should go away when I do this.

@hyanwong hyanwong closed this as completed Nov 4, 2024
@hyanwong hyanwong reopened this Nov 5, 2024
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

No branches or pull requests

2 participants