aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/CoreDeclarations
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-05-15 09:40:11 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-05-15 09:40:11 +0000
commitc6789a279c4def1ba33f6481ac7f9df68ba5f32b (patch)
tree1c920b7214c25a7e7156a986575bf5c1295074b4 /Eigen/CoreDeclarations
parent5da60897abba95e4b0c9928dce0f1f18efab4580 (diff)
Fix compilation issues with MSVC and NVCC.
Added a few typedef of complex return types in MatrixBase (Needed by MSVC)
Diffstat (limited to 'Eigen/CoreDeclarations')
-rw-r--r--Eigen/CoreDeclarations3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/CoreDeclarations b/Eigen/CoreDeclarations
index 9a44e4dc3..d141a7c08 100644
--- a/Eigen/CoreDeclarations
+++ b/Eigen/CoreDeclarations
@@ -6,7 +6,7 @@
#ifdef __GNUC__
#define EIGEN_GNUC_AT_LEAST(x,y) (__GNUC__>=x && __GNUC_MINOR__>=y) || __GNUC__>x
#else
-#define EIGEN_GNUC_AT_LEAST(x,y) false
+#define EIGEN_GNUC_AT_LEAST(x,y) 0
#endif
#ifndef EIGEN_DONT_VECTORIZE
@@ -34,6 +34,7 @@
#include <cmath>
#include <complex>
#include <cassert>
+#include <functional>
namespace Eigen {