From 9ff0baa680d94b1c579b2d2166fcaf8217b95a26 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 22 May 2009 15:03:40 +0200 Subject: [PATCH] the EIGEN_CAT macro is needed for the latest change in CacheFriendlyProduct --- Eigen/src/Core/util/Macros.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 23809a058..f884fce71 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -236,4 +236,15 @@ _EIGEN_GENERIC_PUBLIC_INTERFACE(Derived, Eigen::MatrixBase) #define EIGEN_ENUM_MIN(a,b) (((int)a <= (int)b) ? (int)a : (int)b) #define EIGEN_ENUM_MAX(a,b) (((int)a >= (int)b) ? (int)a : (int)b) +// just an empty macro ! +#define EIGEN_EMPTY + +// concatenate two tokens +#define EIGEN_CAT2(a,b) a ## b +#define EIGEN_CAT(a,b) EIGEN_CAT2(a,b) + +// convert a token to a string +#define EIGEN_MAKESTRING2(a) #a +#define EIGEN_MAKESTRING(a) EIGEN_MAKESTRING2(a) + #endif // EIGEN_MACROS_H