From 97c54ad2204f6645c1a0b6bca3d9d32ca51c0e23 Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco Date: Wed, 29 Dec 2010 06:15:41 -0500 Subject: [PATCH] fix MSVC warnings, bug #143 --- Eigen/src/Core/util/StaticAssert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/util/StaticAssert.h b/Eigen/src/Core/util/StaticAssert.h index e7904dee7..d72a182e5 100644 --- a/Eigen/src/Core/util/StaticAssert.h +++ b/Eigen/src/Core/util/StaticAssert.h @@ -107,12 +107,12 @@ #ifdef _MSC_VER #define EIGEN_STATIC_ASSERT(CONDITION,MSG) \ - {Eigen::internal::static_assertion<(CONDITION)>::MSG;} + {Eigen::internal::static_assertion::MSG;} #else #define EIGEN_STATIC_ASSERT(CONDITION,MSG) \ - if (Eigen::internal::static_assertion<(CONDITION)>::MSG) {} + if (Eigen::internal::static_assertion::MSG) {} #endif