From 7252163335f56f23fcc7381c1efdea47161005fa Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Mon, 16 Dec 2019 22:31:59 +0000 Subject: Add default definition for EIGEN_PREDICT_* --- Eigen/src/Core/util/Macros.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Eigen/src/Core/util/Macros.h') diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 84a13e81f..79032ef55 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -1115,6 +1115,9 @@ namespace Eigen { #if EIGEN_HAS_BUILTIN(__builtin_expect) || EIGEN_COMP_GNUC #define EIGEN_PREDICT_FALSE(x) (__builtin_expect(x, false)) #define EIGEN_PREDICT_TRUE(x) (__builtin_expect(false || (x), true)) +#else +#define EIGEN_PREDICT_FALSE(x) (x) +#define EIGEN_PREDICT_TRUE(x) (x) #endif // the expression type of a standard coefficient wise binary operation -- cgit v1.2.3