summaryrefslogtreecommitdiff
path: root/numpy/core/defmatrix.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/defmatrix.py')
-rw-r--r--numpy/core/defmatrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/defmatrix.py b/numpy/core/defmatrix.py
index 4b6f4bc2c..547bfe493 100644
--- a/numpy/core/defmatrix.py
+++ b/numpy/core/defmatrix.py
@@ -199,7 +199,7 @@ class matrix(N.ndarray):
return self.transpose()
def getI(self):
- from numpy.corelinalg import inv
+ from numpy.linalg import inv
return matrix(inv(self))
A = property(getA, None, doc="base array")