diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-05-19 08:18:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 08:18:54 -0500 |
commit | 8ab709c26db9d10fb9365c8faf05b395822482c0 (patch) | |
tree | cb91e56f205282585b0994cdedfd9b62c261bc63 /numpy/matrixlib/defmatrix.py | |
parent | 249198b3df5fa16da4417501fa8a329043ddd20d (diff) | |
parent | 82d4c78818a3d2ee0e7a921cf46ae69edd2b1731 (diff) | |
download | numpy-8ab709c26db9d10fb9365c8faf05b395822482c0.tar.gz |
Merge pull request #16156 from WarrenWeckesser/deprecate-dual
DEP: Deprecate `numpy.dual`.
Diffstat (limited to 'numpy/matrixlib/defmatrix.py')
-rw-r--r-- | numpy/matrixlib/defmatrix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/matrixlib/defmatrix.py b/numpy/matrixlib/defmatrix.py index a13ff23f4..a9ee74a5b 100644 --- a/numpy/matrixlib/defmatrix.py +++ b/numpy/matrixlib/defmatrix.py @@ -829,9 +829,9 @@ class matrix(N.ndarray): """ M, N = self.shape if M == N: - from numpy.dual import inv as func + from numpy.linalg import inv as func else: - from numpy.dual import pinv as func + from numpy.linalg import pinv as func return asmatrix(func(self)) @property |