aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_quaternion.cpp
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-04-02 22:06:27 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-04-02 22:06:27 +0000
commit3ddc0974ce42d7cdd9161dda2a9558d6800d12c8 (patch)
treed7f2c3352c9d7fdf6fcad0cf240206e9ec5033d1 /test/geo_quaternion.cpp
parentc24bee6120d40987b15df0cbdaaa60e3de877e01 (diff)
Fix two bugs in commit
Diffstat (limited to 'test/geo_quaternion.cpp')
-rw-r--r--test/geo_quaternion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp
index 6cfdb6f10..c4a3162b3 100644
--- a/test/geo_quaternion.cpp
+++ b/test/geo_quaternion.cpp
@@ -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>() ));
}
}