- changed status to resolved
PendingDeprecationWarning for Scalar_Field_XY._RS_
Issue #7
resolved
When running Scalar_Fields_XY, a deprecation warning is being raised. This might create problems with future versions of scipy:
scalar_fields_XY.py:651: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
d1x = matrix(cx)
scalar_fields_XY.py:652: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
d1y = matrix(cy)
numpy/matrixlib/defmatrix.py:69: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
return matrix(data, dtype=dtype, copy=False)
Comments (1)
-
repo owner - Log in to comment