Fix two bugs in commit

This commit is contained in:
Rasmus Munk Larsen
2021-04-02 22:06:27 +00:00
parent c24bee6120
commit 3ddc0974ce
3 changed files with 21 additions and 7 deletions

View File

@@ -332,7 +332,9 @@ EIGEN_DECLARE_TEST(geo_quaternion)
CALL_SUBTEST_2(( quaternionAlignment<double>() ));
CALL_SUBTEST_2( mapQuaternion<double>() );
#ifndef EIGEN_TEST_ANNOYING_SCALAR_DONT_THROW
AnnoyingScalar::dont_throw = true;
#endif
CALL_SUBTEST_3(( quaternion<AnnoyingScalar,AutoAlign>() ));
}
}