aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Meta.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-31 18:06:28 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-31 18:06:28 +0100
commitc0352197a1fc8ceb2de5385c7f6d259eabe7a9c9 (patch)
treee346601805bfba08c1a4f7b8024ac0298fa2abd7 /Eigen/src/Core/util/Meta.h
parentb32948c6427635aa91cd585a2eceecef8440fbd1 (diff)
bug #1099: add missing incude for CUDA
Diffstat (limited to 'Eigen/src/Core/util/Meta.h')
-rw-r--r--Eigen/src/Core/util/Meta.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h
index ef35cefb4..a7e7555e9 100644
--- a/Eigen/src/Core/util/Meta.h
+++ b/Eigen/src/Core/util/Meta.h
@@ -1,7 +1,7 @@
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
-// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
+// Copyright (C) 2008-2015 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
@@ -13,6 +13,7 @@
#if defined(__CUDA_ARCH__)
#include <cfloat>
+#include <math_constants.h>
#endif
namespace Eigen {