update testsuite script
diff --git a/test/adjoint.cpp b/test/adjoint.cpp
index 8c6d6e3..f553bad 100644
--- a/test/adjoint.cpp
+++ b/test/adjoint.cpp
@@ -39,7 +39,7 @@
 
   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),