aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/SelfCwiseBinaryOp.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-02-08 16:51:41 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-02-08 16:51:41 +0100
commit8b016e717fdcbf4f9be34997bb857f52ca34a5b8 (patch)
tree3c8dcf532926830d5ee3f95c5ab03e0ddc45a2ce /Eigen/src/Core/SelfCwiseBinaryOp.h
parent871698d3aa3e125561226a08bee9aa2db5dec6aa (diff)
get rid of NestParentByRefBit
Diffstat (limited to 'Eigen/src/Core/SelfCwiseBinaryOp.h')
-rw-r--r--Eigen/src/Core/SelfCwiseBinaryOp.h2
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>