Deprecation warning raised by scipy on traj_generator.py #117
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.
./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:
trajpy/trajpy/traj_generator.py
Line 127 in d86094c
The text was updated successfully, but these errors were encountered: