diff options
author | 2009-12-17 13:37:00 +0100 | |
---|---|---|
committer | 2009-12-17 13:37:00 +0100 | |
commit | ebb28788292bc8e76a03044f64ea580b43e03bef (patch) | |
tree | 43063a6ace8c0ae8b23312ccb2d5f49c876d3146 /Eigen/src/Eigen2Support/CwiseOperators.h | |
parent | 4e9c227bd52732a75b35f4c01da4e033c2f1e49a (diff) |
finally add a Array class with storage via the introduction of a DenseStorageBase
base class shared by both Matrix and Array
Diffstat (limited to 'Eigen/src/Eigen2Support/CwiseOperators.h')
-rw-r--r-- | Eigen/src/Eigen2Support/CwiseOperators.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Eigen2Support/CwiseOperators.h b/Eigen/src/Eigen2Support/CwiseOperators.h index fc5fe86c6..ac1dc0a7e 100644 --- a/Eigen/src/Eigen2Support/CwiseOperators.h +++ b/Eigen/src/Eigen2Support/CwiseOperators.h @@ -95,10 +95,10 @@ Cwise<ExpressionType>::log() const */ template<typename ExpressionType> template<typename OtherDerived> -EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE +EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType,OtherDerived) Cwise<ExpressionType>::operator*(const MatrixBase<OtherDerived> &other) const { - return EIGEN_CWISE_PRODUCT_RETURN_TYPE(_expression(), other.derived()); + return EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType,OtherDerived)(_expression(), other.derived()); } /** \returns an expression of the coefficient-wise quotient of *this and \a other |