aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CwiseBinaryOp.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-12-04 23:17:14 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-12-04 23:17:14 +0100
commit8e05f9cfa1538d76a9d3e01e08ba565bd581806a (patch)
treee3ba56b1c37c00ce1da70277e8ef2a86a48c6173 /Eigen/src/Core/CwiseBinaryOp.h
parent80ebeae48d7b56500d9ebc8abd2789061af145e1 (diff)
add a DenseBase class for MAtrixBase and ArrayBase and more code factorisation
Diffstat (limited to 'Eigen/src/Core/CwiseBinaryOp.h')
-rw-r--r--Eigen/src/Core/CwiseBinaryOp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h
index 0b45261ae..c45c52494 100644
--- a/Eigen/src/Core/CwiseBinaryOp.h
+++ b/Eigen/src/Core/CwiseBinaryOp.h
@@ -140,7 +140,8 @@ class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Dense>
public:
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
- EIGEN_DENSE_PUBLIC_INTERFACE( Derived )
+ typedef typename Lhs::template MakeBase< CwiseBinaryOp<BinaryOp, Lhs, Rhs> >::Type Base;
+ _EIGEN_DENSE_PUBLIC_INTERFACE( Derived )
EIGEN_STRONG_INLINE const Scalar coeff(int row, int col) const
{