aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-17 16:22:39 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-17 16:22:39 +0200
commit32b08ac971b2ab66cf83360a9e2d42a99bfe3b70 (patch)
tree9200c0108ba115af363366ef4f8f176dca90cc2e /test
parent15ed32dd6ef53111e6e29428418a65e1d3547c12 (diff)
re-implement stableNorm using a homemade blocky and
vectorization friendly algorithm (slow if no vectorization)
Diffstat (limited to 'test')
-rw-r--r--test/adjoint.cpp4
1 files changed, 2 insertions, 2 deletions
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<typename MatrixType> void adjoint(const MatrixType& m)
{
VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(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