summaryrefslogtreecommitdiff
path: root/numpy/linalg/tests
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2016-12-12 19:16:42 +0000
committerEric Wieser <wieser.eric@gmail.com>2016-12-19 14:32:51 +0000
commitb8f75f0fc73e1afc68c15fb0b9661f436c1f936a (patch)
tree48f770e4c468aa7592b6ec3eb17bb1e91e4534da /numpy/linalg/tests
parentc3442066006015dfa8be714686472434756bf83e (diff)
downloadnumpy-b8f75f0fc73e1afc68c15fb0b9661f436c1f936a.tar.gz
TST: Correct test cases to actually make sense
These testcases were never used in the first place, due to a typo. This makes their dimensions match the order of the other test cases, even though those also did not run
Diffstat (limited to 'numpy/linalg/tests')
-rw-r--r--numpy/linalg/tests/test_linalg.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py
index 9b1724c9c..ec85d18cb 100644
--- a/numpy/linalg/tests/test_linalg.py
+++ b/numpy/linalg/tests/test_linalg.py
@@ -178,20 +178,20 @@ CASES += apply_flags(CaseFlags.none, [
array([[2. + 1j, 1. + 2j], [1 - 1j, 2 - 2j], [1 - 1j, 2 - 2j]], dtype=cdouble)),
LinalgCase("8x11",
np.random.rand(8, 11),
- np.random.rand(11)),
+ np.random.rand(8)),
LinalgCase("1x5",
np.random.rand(1, 5),
- np.random.rand(5)),
+ np.random.rand(1)),
LinalgCase("5x1",
np.random.rand(5, 1),
- np.random.rand(1)),
+ np.random.rand(5)),
LinalgCase("0x4",
np.random.rand(0, 4),
- np.random.rand(4),
+ np.random.rand(0),
flags=CaseFlags.empty),
LinalgCase("4x0",
np.random.rand(4, 0),
- np.random.rand(0),
+ np.random.rand(4),
flags=CaseFlags.empty),
])