From a871f3cdb8fbc6e2488d23094186c4767d2859cd Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 15 Jun 2011 10:00:43 -0400 Subject: adapt test to the change reverting normalize() to returning void --- test/adjoint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/adjoint.cpp') diff --git a/test/adjoint.cpp b/test/adjoint.cpp index 98d7aabfb..11b82b45c 100644 --- a/test/adjoint.cpp +++ b/test/adjoint.cpp @@ -74,9 +74,9 @@ template void adjoint(const MatrixType& m) VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm()); // check normalized() and normalize() VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized()); - // normalize() returns a reference to *this v3 = v1; - VERIFY_IS_APPROX(v1, v1.norm() * v3.normalize()); + v3.normalize(); + VERIFY_IS_APPROX(v1, v1.norm() * v3); VERIFY_IS_APPROX(v3, v1.normalized()); VERIFY_IS_APPROX(v3.norm(), RealScalar(1)); } -- cgit v1.2.3