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

Numpy warnings in tests #1213

Closed
marcharper opened this issue Oct 29, 2018 · 0 comments
Closed

Numpy warnings in tests #1213

marcharper opened this issue Oct 29, 2018 · 0 comments

Comments

@marcharper
Copy link
Member

numpy deprecation warning:

/home/user/repos/axelrod/Axelrod/axelrod/eigen.py:74: 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.
  mat_ = numpy.matrix(mat)

and several other lines. Just run ./test to see them

drvinceknight added a commit that referenced this issue Oct 29, 2018
Closes #1213

Also moves from `np.dot` to matrix multiplication operator `@`.
drvinceknight added a commit that referenced this issue Oct 29, 2018
Closes #1213
Also moves from `np.dot` to matrix multiplication operator `@`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant