SINTEF / Splipy

Spline modelling made easy.
GNU General Public License v3.0
100 stars 18 forks source link

PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices #92

Closed VikingScientist closed 5 years ago

VikingScientist commented 5 years ago

Since numpy 1.15 they are phasing out the matrix class in favor of numpy.array. More on this in this stack overflow thread

I guess we have to adapt to the changing times.

My only concern is that this is going to break older versions of numpy so if any pull request comes which removes all PendingDeprecationWarnings, then it also have to update setup.py to request the right numpy version since I doubt that it's going to be backward compatible.