diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-02 22:27:07 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-02 22:27:07 +0100 |
commit | 5c279624538d484940c34673245ea2a9a48ca964 (patch) | |
tree | 5640e04db5f6f5dfe25b5d58faf2aa0cfb630391 /Eigen/src/Core/DenseBase.h | |
parent | 4ebf69394d46cf5113b27fb11923cffeb54c28d2 (diff) |
Move common cwise-unary method from MatrixBase/ArrayBase to the common DenseBase class.
Diffstat (limited to 'Eigen/src/Core/DenseBase.h')
-rw-r--r-- | Eigen/src/Core/DenseBase.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h index bd74e8a13..9f3c7c8a9 100644 --- a/Eigen/src/Core/DenseBase.h +++ b/Eigen/src/Core/DenseBase.h @@ -560,6 +560,8 @@ template<typename Derived> class DenseBase #define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::DenseBase #define EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL #define EIGEN_DOC_BLOCK_ADDONS_INNER_PANEL_IF(COND) +#define EIGEN_DOC_UNARY_ADDONS(X,Y) +# include "../plugins/CommonCwiseUnaryOps.h" # include "../plugins/BlockMethods.h" # ifdef EIGEN_DENSEBASE_PLUGIN # include EIGEN_DENSEBASE_PLUGIN @@ -567,6 +569,7 @@ template<typename Derived> class DenseBase #undef EIGEN_CURRENT_STORAGE_BASE_CLASS #undef EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL #undef EIGEN_DOC_BLOCK_ADDONS_INNER_PANEL_IF +#undef EIGEN_DOC_UNARY_ADDONS // disable the use of evalTo for dense objects with a nice compilation error template<typename Dest> |