aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/adjoint.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-10-25 22:13:49 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-10-25 22:13:49 +0200
commit7bc8e3ac0917cdc14015e00e8b29ac299b2b772a (patch)
tree8c6af03e1d27e0e035bc4bd9be042f78384d10e1 /test/adjoint.cpp
parent597b2745e1cfe1bf1cc4c4c189ecd16d2a0c1738 (diff)
Initial fixes for bug #85.
Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const. Changed boolean type 'ret' member to 'value'. Changed 'ret' members refering to types to 'type'. Adapted all code occurences.
Diffstat (limited to 'test/adjoint.cpp')
-rw-r--r--test/adjoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/adjoint.cpp b/test/adjoint.cpp
index f37bad787..72cbf3406 100644
--- a/test/adjoint.cpp
+++ b/test/adjoint.cpp
@@ -41,7 +41,7 @@ template<typename MatrixType> void adjoint(const MatrixType& m)
Index cols = m.cols();
RealScalar largerEps = test_precision<RealScalar>();
- if (internal::is_same_type<RealScalar,float>::ret)
+ if (internal::is_same<RealScalar,float>::value)
largerEps = RealScalar(1e-3f);
MatrixType m1 = MatrixType::Random(rows, cols),