Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
eigen.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4
5// Include these headers so we can access number functions from Eigen.
8
9#if defined(__clang__)
10#pragma clang diagnostic push
11#pragma clang diagnostic ignored "-Walloca"
12#pragma clang diagnostic ignored "-Wunknown-warning-option" // AppleClang 15 does not recognize -Wdeprecated-redundant-constexpr-static-def
13#pragma clang diagnostic ignored "-Wdeprecated-redundant-constexpr-static-def"
14#pragma clang diagnostic ignored "-Wextra-semi"
15#pragma clang diagnostic ignored "-Wextra-semi-stmt"
16#pragma clang diagnostic ignored "-Wunused-template"
17#pragma clang diagnostic ignored "-Wused-but-marked-unused"
18#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
19#elif defined(__GNUC__)
20#pragma GCC diagnostic push
21#pragma GCC diagnostic ignored "-Walloc-size-larger-than="
22#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"
23#pragma GCC diagnostic ignored "-Wunused-parameter"
24#endif
25
26// Finally include the parts of Eigen we need.
27// Make sure to include our patched version of Eigen (and not a pre-installed one e.g. located at /usr/include)
28#include <StormEigen/Eigen/Dense>
29#include <StormEigen/Eigen/Sparse>
30#include <StormEigen/unsupported/Eigen/IterativeSolvers>
31
32#if defined(__clang__)
33#pragma clang diagnostic pop
34#elif defined(__GNUC__)
35#pragma GCC diagnostic pop
36#endif