Describe the bug
When running an analysis, I was recently greeted with the following warning:
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.
dirCos = matrix([x, y, z])
To Reproduce
I think this comes up with any analysis.
Proposed solution
I think this can be fixed just by substituting array for matrix to build a regular numpy.ndarray. I will submit a PR for this fix.
Describe the bug When running an analysis, I was recently greeted with the following warning:
To Reproduce I think this comes up with any analysis.
Proposed solution I think this can be fixed just by substituting
array
formatrix
to build a regularnumpy.ndarray
. I will submit a PR for this fix.