diff options
author | alex <argriffi@ncsu.edu> | 2014-07-31 19:25:39 -0400 |
---|---|---|
committer | alex <argriffi@ncsu.edu> | 2014-07-31 19:25:39 -0400 |
commit | 7bfa929d3ce90f647dd4e4e228312491df517928 (patch) | |
tree | ab4ca6fc81c2e240028032a772fe7d2cf7b918b4 | |
parent | 3b40702dcbf89b3a312133c5cee39360b6e043ec (diff) | |
download | numpy-7bfa929d3ce90f647dd4e4e228312491df517928.tar.gz |
MAINT: fix the import
-rw-r--r-- | numpy/matrixlib/defmatrix.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/matrixlib/defmatrix.py b/numpy/matrixlib/defmatrix.py index 66156a4b6..2d785e213 100644 --- a/numpy/matrixlib/defmatrix.py +++ b/numpy/matrixlib/defmatrix.py @@ -3,6 +3,7 @@ from __future__ import division, absolute_import, print_function __all__ = ['matrix', 'bmat', 'mat', 'asmatrix'] import sys +from numpy import core import numpy.core.numeric as N from numpy.core.numeric import concatenate, isscalar, binary_repr, identity, asanyarray from numpy.core.numerictypes import issubdtype @@ -943,7 +944,7 @@ class matrix(N.ndarray): This returns a matrix. """ - return np.core.multiarray.ndarray.ravel(self) + return core.multiarray.ndarray.ravel(self) def getT(self): |