From bfdc1c49730c79e6058ba1506628341559670c25 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 8 May 2010 13:45:31 -0400 Subject: introduce DenseCoeffsBase: this is where the coeff / coeffRef / etc... methods go. Rationale: coeffRef() methods should only exist when we have DirectAccess. So a natural thing to do would have been to use enable_if, but since there are many methods it made more sense to do the "enable_if" for the whole group by introducing a new class. And that also that the benefit of not changing method prototypes. --- test/basicstuff.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/basicstuff.cpp') diff --git a/test/basicstuff.cpp b/test/basicstuff.cpp index 7244dff9d..7ef127ac2 100644 --- a/test/basicstuff.cpp +++ b/test/basicstuff.cpp @@ -152,6 +152,7 @@ template void basicStuffComplex(const MatrixType& m) VERIFY(!static_cast(cm).imag().isZero()); } +#ifdef EIGEN_TEST_PART_2 void casting() { Matrix4f m = Matrix4f::Random(), m2; @@ -160,6 +161,7 @@ void casting() m2 = m.cast(); // check the specialization when NewType == Type VERIFY(m.isApprox(m2)); } +#endif void test_basicstuff() { -- cgit v1.2.3