This PR is meant to address a variety of numpy deprecation warnings that we are getting on newer numpy versions:
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.)
It seems like it can be easily fixed by just using np.squeeze... right?
This PR is meant to address a variety of numpy deprecation warnings that we are getting on newer numpy versions:
It seems like it can be easily fixed by just using
np.squeeze
... right?