From a76fbbf39777827200455477a9e3557b6063913f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 6 Nov 2012 15:25:50 +0100 Subject: Fix bug #314: - remove most of the metaprogramming kung fu in MathFunctions.h (only keep functions that differs from the std) - remove the overloads for array expression that were in the std namespace --- test/real_qz.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/real_qz.cpp') diff --git a/test/real_qz.cpp b/test/real_qz.cpp index 951cf5b31..c31621439 100644 --- a/test/real_qz.cpp +++ b/test/real_qz.cpp @@ -16,7 +16,7 @@ template void real_qz(const MatrixType& m) /* this test covers the following files: RealQZ.h */ - + using std::abs; typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits::Real RealScalar; @@ -36,11 +36,11 @@ template void real_qz(const MatrixType& m) bool all_zeros = true; for (Index i=0; i0 && internal::abs(qz.matrixS()(i,j))!=Scalar(0.0) && internal::abs(qz.matrixS()(i-1,j-1))!=Scalar(0.0)) + if (j==i-1 && j>0 && abs(qz.matrixS()(i,j))!=Scalar(0.0) && abs(qz.matrixS()(i-1,j-1))!=Scalar(0.0)) all_zeros = false; } VERIFY_IS_EQUAL(all_zeros, true); -- cgit v1.2.3