aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/ArpackSupport
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-28 11:44:15 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-28 11:44:15 +0200
commit42f3ee4fb878b3e16a8cbc99ec90ed330f59899c (patch)
tree938b1895c08d1ab1185fd8e5d7a6a657e7a765ef /unsupported/Eigen/ArpackSupport
parent050bcf61261d5b3bcc86b2c5afc7e35d3fd16ff7 (diff)
Old gcc versions have problems with recursive #pragma GCC diagnostic push/pop
Workaround: Don't include "DisableStupidWarnings.h" before including other main-headers
Diffstat (limited to 'unsupported/Eigen/ArpackSupport')
-rw-r--r--unsupported/Eigen/ArpackSupport4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/ArpackSupport b/unsupported/Eigen/ArpackSupport
index 37a2799ef..a0d4820e1 100644
--- a/unsupported/Eigen/ArpackSupport
+++ b/unsupported/Eigen/ArpackSupport
@@ -11,8 +11,6 @@
#include <Eigen/Core>
-#include <Eigen/src/Core/util/DisableStupidWarnings.h>
-
/** \defgroup ArpackSupport_Module Arpack support module
*
* This module provides a wrapper to Arpack, a library for sparse eigenvalue decomposition.
@@ -23,6 +21,8 @@
*/
#include <Eigen/SparseCholesky>
+
+#include <Eigen/src/Core/util/DisableStupidWarnings.h>
#include "src/Eigenvalues/ArpackSelfAdjointEigenSolver.h"
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>