diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-02-08 16:51:41 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-02-08 16:51:41 +0100 |
commit | 8b016e717fdcbf4f9be34997bb857f52ca34a5b8 (patch) | |
tree | 3c8dcf532926830d5ee3f95c5ab03e0ddc45a2ce /Eigen/src/Core/SelfCwiseBinaryOp.h | |
parent | 871698d3aa3e125561226a08bee9aa2db5dec6aa (diff) |
get rid of NestParentByRefBit
Diffstat (limited to 'Eigen/src/Core/SelfCwiseBinaryOp.h')
-rw-r--r-- | Eigen/src/Core/SelfCwiseBinaryOp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/SelfCwiseBinaryOp.h b/Eigen/src/Core/SelfCwiseBinaryOp.h index c403a4f55..7ae2e82a4 100644 --- a/Eigen/src/Core/SelfCwiseBinaryOp.h +++ b/Eigen/src/Core/SelfCwiseBinaryOp.h @@ -90,7 +90,7 @@ template<typename BinaryOp, typename MatrixType> class SelfCwiseBinaryOp OtherDerived& _other = other.const_cast_derived(); ei_internal_assert(index >= 0 && index < m_matrix.size()); Scalar& tmp = m_matrix.coeffRef(index); - tmp = m_functor(tmp, Scalar(_other.coeff(index))); + tmp = m_functor(tmp, _other.coeff(index)); } template<typename OtherDerived, int StoreMode, int LoadMode> |