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

Deprecation warning raised by scipy on traj_generator.py #117

Open
phydev opened this issue Jul 20, 2023 · 0 comments
Open

Deprecation warning raised by scipy on traj_generator.py #117

phydev opened this issue Jul 20, 2023 · 0 comments
Labels
bug Something isn't working future-work Code that should be implemented soon good first issue Good for newcomers maintainability tests Issues related to unit test.

Comments

@phydev
Copy link
Member

phydev commented Jul 20, 2023

./home/runner/work/trajpy/trajpy/trajpy/traj_generator.py:127:
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.)
y[i_step, i_sample] = sub_y[-1]

Affected code:

y[i_step, i_sample] = sub_y[-1]

@phydev phydev added bug Something isn't working good first issue Good for newcomers future-work Code that should be implemented soon tests Issues related to unit test. maintainability labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working future-work Code that should be implemented soon good first issue Good for newcomers maintainability tests Issues related to unit test.
Projects
None yet
Development

No branches or pull requests

1 participant