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())) )); } }