aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_quaternion.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-26 17:42:12 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-26 17:42:12 +0200
commitdb62719eda3f4bd6d8992eb911dfc0a4af0770b2 (patch)
tree95cd30f5b208bccc44efd4c6bd007c7093e28cec /test/geo_quaternion.cpp
parentfdcad686eea0123049c0fc1d4b5cb50894a08ef6 (diff)
Fix some conversion warnings in unit tests.
Diffstat (limited to 'test/geo_quaternion.cpp')
-rw-r--r--test/geo_quaternion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp
index f9e45f027..96889e722 100644
--- a/test/geo_quaternion.cpp
+++ b/test/geo_quaternion.cpp
@@ -31,7 +31,7 @@ template<typename QuatType> void check_slerp(const QuatType& q0, const QuatType&
Scalar theta_tot = AA(q1*q0.inverse()).angle();
if(theta_tot>Scalar(EIGEN_PI))
- theta_tot = Scalar(2.*EIGEN_PI)-theta_tot;
+ theta_tot = Scalar(2.)*Scalar(EIGEN_PI)-theta_tot;
for(Scalar t=0; t<=Scalar(1.001); t+=Scalar(0.1))
{
QuatType q = q0.slerp(t,q1);