From dcf7655b3d469a399c1182f350c9009e13ad8654 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Thu, 9 Jul 2020 19:54:48 +0000 Subject: Guard operator<< test by EIGEN_NO_IO. --- test/geo_quaternion.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/geo_quaternion.cpp') 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 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; -- cgit v1.2.3