mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
big huge changes, so i dont remember everything.
* renaming, e.g. LU ---> FullPivLU * split tests framework: more robust, e.g. dont generate empty tests if a number is skipped * make all remaining tests use that splitting, as needed. * Fix 4x4 inversion (see stable branch) * Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices. * CMakeLists: more robust regexp to parse the version number * misc fixes in unit tests
This commit is contained in:
@@ -181,17 +181,17 @@ void test_umeyama()
|
||||
// works also for dimensions bigger than 3...
|
||||
for (int dim=2; dim<8; ++dim)
|
||||
{
|
||||
CALL_SUBTEST(run_test<MatrixXd>(dim, num_elements));
|
||||
CALL_SUBTEST(run_test<MatrixXf>(dim, num_elements));
|
||||
CALL_SUBTEST_1(run_test<MatrixXd>(dim, num_elements));
|
||||
CALL_SUBTEST_2(run_test<MatrixXf>(dim, num_elements));
|
||||
}
|
||||
|
||||
CALL_SUBTEST((run_fixed_size_test<float, 2>(num_elements)));
|
||||
CALL_SUBTEST((run_fixed_size_test<float, 3>(num_elements)));
|
||||
CALL_SUBTEST((run_fixed_size_test<float, 4>(num_elements)));
|
||||
CALL_SUBTEST_3((run_fixed_size_test<float, 2>(num_elements)));
|
||||
CALL_SUBTEST_4((run_fixed_size_test<float, 3>(num_elements)));
|
||||
CALL_SUBTEST_5((run_fixed_size_test<float, 4>(num_elements)));
|
||||
|
||||
CALL_SUBTEST((run_fixed_size_test<double, 2>(num_elements)));
|
||||
CALL_SUBTEST((run_fixed_size_test<double, 3>(num_elements)));
|
||||
CALL_SUBTEST((run_fixed_size_test<double, 4>(num_elements)));
|
||||
CALL_SUBTEST_6((run_fixed_size_test<double, 2>(num_elements)));
|
||||
CALL_SUBTEST_7((run_fixed_size_test<double, 3>(num_elements)));
|
||||
CALL_SUBTEST_8((run_fixed_size_test<double, 4>(num_elements)));
|
||||
}
|
||||
|
||||
// Those two calls don't compile and result in meaningful error messages!
|
||||
|
||||
Reference in New Issue
Block a user