diff options
Diffstat (limited to 'test/geo_quaternion.cpp')
-rw-r--r-- | test/geo_quaternion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index 2e97fe295..5a55138f9 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -43,7 +43,7 @@ template<typename Scalar> void quaternion(void) if (ei_is_same_type<Scalar,float>::ret) largeEps = 1e-3f; - Scalar eps = ei_random<Scalar>() * 1e-2; + Scalar eps = ei_random<Scalar>() * Scalar(1e-2); Vector3 v0 = Vector3::Random(), v1 = Vector3::Random(), |