aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/adjoint.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-01-12 11:55:52 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-01-12 11:55:52 +0000
commit2db58882533eb988767975f38c211c16f703673b (patch)
tree685ff1d00d1f776b755a5fea1b2ec6837c2c8ee2 /test/adjoint.cpp
parentf268e79709ca696d843564595416098bf1a445c0 (diff)
update testsuite script
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 8c6d6e3ac..f553bad02 100644
--- a/test/adjoint.cpp
+++ b/test/adjoint.cpp
@@ -39,7 +39,7 @@ template<typename MatrixType> void adjoint(const MatrixType& m)
RealScalar largerEps = test_precision<RealScalar>();
if (ei_is_same_type<RealScalar,float>::ret)
- largerEps = 1e-3f;
+ largerEps = RealScalar(1e-3f);
MatrixType m1 = MatrixType::Random(rows, cols),
m2 = MatrixType::Random(rows, cols),