From e8e1084267161d831c9b132bfffbccb9b4f25d9a Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 13 Jan 2009 15:31:06 +0000 Subject: [PATCH] add EIGEN_CWISE_PLUGIN support for extending class Cwise --- Eigen/src/Core/Cwise.h | 5 +++++ 1 file changed, 5 insertions(+) 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; };