diff options
-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 27040dd4d..e011879a5 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -38,7 +38,7 @@ template<typename QuatType> void check_slerp(const QuatType& q0, const QuatType& Scalar theta = AA(q*q0.inverse()).angle(); VERIFY(abs(q.norm() - 1) < largeEps); if(theta_tot==0) VERIFY(theta_tot==0); - else VERIFY(abs(theta/theta_tot - t) < largeEps); + else VERIFY(abs(theta - t * theta_tot) < largeEps); } } |