From e3eeec78a902cb2fcbf67d8c4e1ffc6141ed68f3 Mon Sep 17 00:00:00 2001 From: Marten van Kerkwijk Date: Fri, 27 Apr 2018 10:05:45 -0400 Subject: MAINT: Move matrix_power to linalg The docstring already assumed it was in linalg, and this ensures linalg becomes completely independent of matrixlib. --- numpy/matrixlib/tests/test_defmatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/matrixlib/tests') diff --git a/numpy/matrixlib/tests/test_defmatrix.py b/numpy/matrixlib/tests/test_defmatrix.py index a02a05c09..d160490b3 100644 --- a/numpy/matrixlib/tests/test_defmatrix.py +++ b/numpy/matrixlib/tests/test_defmatrix.py @@ -13,7 +13,7 @@ from numpy.testing import ( assert_, assert_equal, assert_almost_equal, assert_array_equal, assert_array_almost_equal, assert_raises ) -from numpy.matrixlib.defmatrix import matrix_power +from numpy.linalg import matrix_power from numpy.matrixlib import mat class TestCtor(object): -- cgit v1.2.1