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

Numpy deprecation warning issued from within test_metropolis.py #7369

Open
ricardoV94 opened this issue Jun 17, 2024 · 0 comments · May be fixed by #7375 or #7514
Open

Numpy deprecation warning issued from within test_metropolis.py #7369

ricardoV94 opened this issue Jun 17, 2024 · 0 comments · May be fixed by #7375 or #7514

Comments

@ricardoV94
Copy link
Member

Description

 tests/step_methods/test_metropolis.py: 15950 warnings
  D:\a\pymc\pymc\pymc\backends\ndarray.py:118: 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.)
    data[key][self.draw_idx] = val
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant