diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2011-06-07 14:32:16 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2011-06-07 14:32:16 +0100 |
commit | 86ca35ccff0837f1d55efe2043ef330b98bba259 (patch) | |
tree | e39668bd03064f5221d246b92d78e6a5b76339d0 /unsupported/test/matrix_square_root.cpp | |
parent | 91fe1507d1a06d84c9ac8d913f080e30f760375b (diff) |
Fix and test MatrixSquareRoot for 1-by-1 matrices.
Diffstat (limited to 'unsupported/test/matrix_square_root.cpp')
-rw-r--r-- | unsupported/test/matrix_square_root.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<double,Dynamic,Dynamic,RowMajor>(9, 9))); + CALL_SUBTEST_5(testMatrixSqrt(Matrix<float,1,1>())); + CALL_SUBTEST_5(testMatrixSqrt(Matrix<std::complex<float>,1,1>())); } } |