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:
@@ -84,10 +84,10 @@ template<typename MatrixType> void stable_norm(const MatrixType& m)
|
||||
void test_stable_norm()
|
||||
{
|
||||
for(int i = 0; i < g_repeat; i++) {
|
||||
CALL_SUBTEST( stable_norm(Matrix<float, 1, 1>()) );
|
||||
CALL_SUBTEST( stable_norm(Vector4d()) );
|
||||
CALL_SUBTEST( stable_norm(VectorXd(ei_random<int>(10,2000))) );
|
||||
CALL_SUBTEST( stable_norm(VectorXf(ei_random<int>(10,2000))) );
|
||||
CALL_SUBTEST( stable_norm(VectorXcd(ei_random<int>(10,2000))) );
|
||||
CALL_SUBTEST_1( stable_norm(Matrix<float, 1, 1>()) );
|
||||
CALL_SUBTEST_2( stable_norm(Vector4d()) );
|
||||
CALL_SUBTEST_3( stable_norm(VectorXd(ei_random<int>(10,2000))) );
|
||||
CALL_SUBTEST_4( stable_norm(VectorXf(ei_random<int>(10,2000))) );
|
||||
CALL_SUBTEST_5( stable_norm(VectorXcd(ei_random<int>(10,2000))) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user