diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-12-16 19:21:10 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-12-16 19:21:10 +0100 |
commit | 20339033764ed7c116b77f5593315a1d31c0a40b (patch) | |
tree | 699ba4fd9e79e27267d7370e6b3b9ed2559500d0 /test/geo_quaternion.cpp | |
parent | 9f7955883918f09648618f89f1551b0b6667343d (diff) |
a trivial compilation fix
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 239284d64..19eb6e78c 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -95,7 +95,7 @@ template<typename Scalar> void quaternion(void) VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); if (ei_is_same_type<Scalar,double>::ret) { - v3 = v1.array()+eps; + v3 = (v1.array()+eps).asMatrix(); VERIFY_IS_APPROX( v3.normalized(),(q2.setFromTwoVectors(v1, v3)*v1).normalized()); VERIFY_IS_APPROX(-v3.normalized(),(q2.setFromTwoVectors(v1,-v3)*v1).normalized()); } |