diff options
-rw-r--r-- | test/geo_quaternion.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index b339a5f39..6cfdb6f10 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -75,11 +75,13 @@ template<typename Scalar, int Options> void quaternion(void) q1.coeffs().setRandom(); VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); +#ifndef EIGEN_NO_IO // Printing std::ostringstream ss; ss << q2; VERIFY(ss.str() == "0i + 0j + 0k + 1"); - +#endif + // concatenation q1 *= q2; |