diff options
Diffstat (limited to 'test/geo_transformations.cpp')
-rw-r--r-- | test/geo_transformations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index f1d068b83..84b3c5355 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -81,7 +81,7 @@ template<typename Scalar, int Mode> void transformations(void) * (AngleAxisx(Scalar(0.3), Vector3(0,0,1)).toRotationMatrix() * v1))); // angle-axis conversion - AngleAxisx aa = q1; + AngleAxisx aa = AngleAxisx(q1); VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1); |