From d7769cc3bdea0c15c273a630e72ed9914aec78c4 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 23 Sep 2016 13:43:38 +0200 Subject: [PATCH] Fix previous backport. --- test/geo_transformations.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index 4ad3793d8..383c42bad 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -594,7 +594,7 @@ void test_geo_transformations() CALL_SUBTEST_7(( transform_products() )); CALL_SUBTEST_7(( transform_products() )); - CALL_SUBTEST_8(( transform_associativity(Rotation2D(internal::random()*double(EIGEN_PI))) )); - CALL_SUBTEST_8(( transform_associativity(Quaterniond::UnitRandom()) )); + CALL_SUBTEST_8(( transform_associativity(Rotation2D(internal::random()*double(3.14))) )); + CALL_SUBTEST_8(( transform_associativity(Quaterniond(Vector4d::Random().normalized())) )); } }