From 48137e28d8abe8464ffbc422333e26b91cd8e3b0 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 28 Oct 2008 12:18:00 +0000 Subject: [PATCH] add the possibility to extend Matrix outside Eigen, just like MatrixBase --- Eigen/src/Core/Matrix.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 4e24e84e2..5b95a0a5e 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -428,6 +428,11 @@ class Matrix explicit Matrix(const RotationBase& r); template Matrix& operator=(const RotationBase& r); + + // allow to extend Matrix outside Eigen + #ifdef EIGEN_MATRIX_PLUGIN + #include EIGEN_MATRIX_PLUGIN + #endif }; /** \defgroup matrixtypedefs Global matrix typedefs