diff --git a/Eigen/src/Core/Cwise.h b/Eigen/src/Core/Cwise.h index eef7ef02c..0e92dce4e 100644 --- a/Eigen/src/Core/Cwise.h +++ b/Eigen/src/Core/Cwise.h @@ -171,6 +171,11 @@ template class Cwise const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::not_equal_to) operator!=(Scalar s) const; + // allow to extend Cwise outside Eigen + #ifdef EIGEN_CWISE_PLUGIN + #include EIGEN_CWISE_PLUGIN + #endif + protected: ExpressionTypeNested m_matrix; };