diff options
Diffstat (limited to 'test/adjoint.cpp')
-rw-r--r-- | test/adjoint.cpp | 2 |
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), |