From 32b08ac971b2ab66cf83360a9e2d42a99bfe3b70 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 17 Jul 2009 16:22:39 +0200 Subject: re-implement stableNorm using a homemade blocky and vectorization friendly algorithm (slow if no vectorization) --- 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 1f4aa7427..47e1bd740 100644 --- a/test/adjoint.cpp +++ b/test/adjoint.cpp @@ -76,8 +76,8 @@ template void adjoint(const MatrixType& m) { VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast(1)); VERIFY_IS_APPROX(v1.norm(), v1.stableNorm()); - // NOTE disabled because it currently compiles for float and double only - // VERIFY_IS_APPROX(v1.blueNorm(), v1.stableNorm()); + VERIFY_IS_APPROX(v1.blueNorm(), v1.stableNorm()); + VERIFY_IS_APPROX(v1.hypotNorm(), v1.stableNorm()); } // check compatibility of dot and adjoint -- cgit v1.2.3