diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-05-29 03:12:30 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-05-29 03:12:30 +0000 |
commit | 486fdb26a1d9fa2cd74855d3d459aeb906967b8b (patch) | |
tree | 71ddcffcd41796a56cdf76205c54a4594b5e88a3 /Eigen/src/Core/CwiseNullaryOp.h | |
parent | c1559d30791f2aff2511d65bf1dac6f16946c801 (diff) |
many small fixes and documentation improvements,
this should be alpha5.
Diffstat (limited to 'Eigen/src/Core/CwiseNullaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseNullaryOp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/CwiseNullaryOp.h b/Eigen/src/Core/CwiseNullaryOp.h index 66ccb40f1..009d89dec 100644 --- a/Eigen/src/Core/CwiseNullaryOp.h +++ b/Eigen/src/Core/CwiseNullaryOp.h @@ -218,7 +218,7 @@ MatrixBase<Derived>::constant(const Scalar& value) } template<typename Derived> -bool MatrixBase<Derived>::isEqualToConstant +bool MatrixBase<Derived>::isApproxToConstant (const Scalar& value, typename NumTraits<Scalar>::Real prec) const { for(int j = 0; j < cols(); j++) @@ -408,7 +408,7 @@ template<typename Derived> bool MatrixBase<Derived>::isOnes (typename NumTraits<Scalar>::Real prec) const { - return isEqualToConstant(Scalar(1), prec); + return isApproxToConstant(Scalar(1), prec); } /** Sets all coefficients in this expression to one. |