fix issue #25 : the problem was that we assumed Dynamic was a multiple of a packet size

(also disable the test of blueNorm)
This commit is contained in:
Gael Guennebaud
2009-07-15 14:20:45 +02:00
parent 7a9519a9be
commit 1578421ed1
4 changed files with 10 additions and 6 deletions

View File

@@ -76,7 +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());
VERIFY_IS_APPROX(v1.blueNorm(), v1.stableNorm());
// NOTE disabled because it currently compiles for float and double only
// VERIFY_IS_APPROX(v1.blueNorm(), v1.stableNorm());
}
// check compatibility of dot and adjoint
@@ -109,7 +110,7 @@ template<typename MatrixType> void adjoint(const MatrixType& m)
m3.transposeInPlace();
VERIFY_IS_APPROX(m3,m1.conjugate());
}
void test_adjoint()