OpenSourceEconomics / skillmodels

MIT License
12 stars 6 forks source link

Remove calls to matrix_multiply #1

Closed janosg closed 5 years ago

janosg commented 6 years ago

When building the package with the lates version of numpy I got the following warning:

DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release. from numpy.core.umath_tests import matrix_multiply

I think matrix multiply is used in three places. Sometimes for convenience, sometimes because of speed. Is there any good alternative?

janosg commented 5 years ago

I think this is the solution: https://docs.scipy.org/doc/numpy/reference/generated/numpy.matmul.html