From 86ca35ccff0837f1d55efe2043ef330b98bba259 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Tue, 7 Jun 2011 14:32:16 +0100 Subject: Fix and test MatrixSquareRoot for 1-by-1 matrices. --- unsupported/test/matrix_square_root.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unsupported/test/matrix_square_root.cpp') diff --git a/unsupported/test/matrix_square_root.cpp b/unsupported/test/matrix_square_root.cpp index 83b130c9a..8e701aac6 100644 --- a/unsupported/test/matrix_square_root.cpp +++ b/unsupported/test/matrix_square_root.cpp @@ -71,5 +71,7 @@ void test_matrix_square_root() CALL_SUBTEST_2(testMatrixSqrt(MatrixXcd(12,12))); CALL_SUBTEST_3(testMatrixSqrt(Matrix4f())); CALL_SUBTEST_4(testMatrixSqrt(Matrix(9, 9))); + CALL_SUBTEST_5(testMatrixSqrt(Matrix())); + CALL_SUBTEST_5(testMatrixSqrt(Matrix,1,1>())); } } -- cgit v1.2.3