mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix and test MatrixSquareRoot for 1-by-1 matrices.
This commit is contained in:
@@ -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>()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user