diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2016-05-22 18:17:04 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2016-05-22 18:17:04 +0200 |
commit | 718521d5cfab91f17c39e0160e617f9a93c15bf1 (patch) | |
tree | 5b96509e309ed6ea99256b0082acd4c2169abbf7 /test/geo_quaternion.cpp | |
parent | b5a7603822825a5c065453434f1fbffdff8678a8 (diff) |
Silenced several double-promotion warnings
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 558acf29f..f9e45f027 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -55,7 +55,7 @@ template<typename Scalar, int Options> void quaternion(void) Scalar largeEps = test_precision<Scalar>(); if (internal::is_same<Scalar,float>::value) - largeEps = 1e-3f; + largeEps = Scalar(1e-3); Scalar eps = internal::random<Scalar>() * Scalar(1e-2); |