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

Remove tests which are testing numpy.matrix class #2

Open
wenzeslaus opened this issue Jan 21, 2020 · 0 comments
Open

Remove tests which are testing numpy.matrix class #2

wenzeslaus opened this issue Jan 21, 2020 · 0 comments
Labels
refactoring The code needs to be rewritten

Comments

@wenzeslaus
Copy link
Member

wenzeslaus commented Jan 21, 2020

tests/test_new_and_modify_matrix.py::test_basic_raster_functions_with_matrix
  /.../pypops/tests/test_new_and_modify_matrix.py:7: 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.
    a = np.matrix(a, copy = False)
...

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.

@wenzeslaus wenzeslaus added the refactoring The code needs to be rewritten label Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring The code needs to be rewritten
Projects
None yet
Development

No branches or pull requests

1 participant