From 761f8d5409f8412134ee53d1e85125ff0044cc71 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Mon, 12 Dec 2016 15:10:04 +0000 Subject: TST: Add some non-square 0-shaped test-cases --- numpy/linalg/tests/test_linalg.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'numpy/linalg/tests') 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 = [ -- cgit v1.2.1