From 14fcbfb0090ff3297e4e5e74d69bc6f49c9e1e02 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 11 Dec 2015 11:43:49 +0100 Subject: [PATCH] bug #1132: add EIGEN_MAPBASE_PLUGIN --- Eigen/src/Core/MapBase.h | 4 ++++ doc/PreprocessorDirectives.dox | 1 + 2 files changed, 5 insertions(+) diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index a9828f7f4..81efc4a6d 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -149,6 +149,10 @@ template class MapBase checkSanity(); } + #ifdef EIGEN_MAPBASE_PLUGIN + #include EIGEN_MAPBASE_PLUGIN + #endif + protected: void checkSanity() const diff --git a/doc/PreprocessorDirectives.dox b/doc/PreprocessorDirectives.dox index 8a2968ebb..cfaba35d8 100644 --- a/doc/PreprocessorDirectives.dox +++ b/doc/PreprocessorDirectives.dox @@ -91,6 +91,7 @@ following macros are supported; none of them are defined by default. - \b EIGEN_MATRIX_PLUGIN - filename of plugin for extending the Matrix class. - \b EIGEN_MATRIXBASE_PLUGIN - filename of plugin for extending the MatrixBase class. - \b EIGEN_PLAINOBJECTBASE_PLUGIN - filename of plugin for extending the PlainObjectBase class. + - \b EIGEN_MAPBASE_PLUGIN - filename of plugin for extending the MapBase class. - \b EIGEN_QUATERNIONBASE_PLUGIN - filename of plugin for extending the QuaternionBase class. - \b EIGEN_SPARSEMATRIX_PLUGIN - filename of plugin for extending the SparseMatrix class. - \b EIGEN_SPARSEMATRIXBASE_PLUGIN - filename of plugin for extending the SparseMatrixBase class.