Browse Source

GCC support: Suppress warnings within eigen code

Former-commit-id: 8adac60449 [formerly 2693055c4c]
Former-commit-id: 695411c63a
tempestpy_adaptions
sjunges 8 years ago
parent
commit
255271383a
  1. 5
      src/utility/eigen.h

5
src/utility/eigen.h

@ -4,5 +4,8 @@
#include "src/utility/constants.h"
// Finally include the parts of Eigen we need.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes"
#include <Eigen/Sparse>
#include <unsupported/Eigen/IterativeSolvers>
#include <unsupported/Eigen/IterativeSolvers>
#pragma GCC diagnostic pop
Loading…
Cancel
Save