diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2016-12-12 15:10:04 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2016-12-19 14:32:42 +0000 |
commit | 761f8d5409f8412134ee53d1e85125ff0044cc71 (patch) | |
tree | 07b024c7af41b803e8f11da5d9699b12d9312200 /numpy/linalg/tests | |
parent | 6ceb8a4e64b1e934d6f9db7ce8a341843950fa56 (diff) | |
download | numpy-761f8d5409f8412134ee53d1e85125ff0044cc71.tar.gz |
TST: Add some non-square 0-shaped test-cases
Diffstat (limited to 'numpy/linalg/tests')
-rw-r--r-- | numpy/linalg/tests/test_linalg.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py index 2d90ca6cf..dc5e53ea5 100644 --- a/numpy/linalg/tests/test_linalg.py +++ b/numpy/linalg/tests/test_linalg.py @@ -170,6 +170,12 @@ NONSQUARE_CASES = [ LinalgCase("5x1", np.random.rand(5, 1), np.random.rand(1)), + LinalgCase("0x4", + np.random.rand(0, 4), + np.random.rand(4)), + LinalgCase("4x0", + np.random.rand(4, 0), + np.random.rand(0)), ] HERMITIAN_CASES = [ |