mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Work around mismatch between our HAVE_BOOST and what dune-istl expects.
In our config.h, HAVE_BOOST is defined (empty). In dune-istl it is expected to be defined to 0 or 1.
This commit is contained in:
parent
c992deb147
commit
709b8c0b82
@ -24,9 +24,13 @@
|
||||
|
||||
#include <opm/core/linalg/LinearSolverIstl.hpp>
|
||||
|
||||
// Work around the fact that istl headers expect
|
||||
// HAVE_BOOST to be 1, and not just defined.
|
||||
#undef HAVE_BOOST
|
||||
#define HAVE_BOOST 1
|
||||
|
||||
// TODO: clean up includes.
|
||||
#define DUNE_DEPRECATED
|
||||
#include <dune/common/deprecated.hh>
|
||||
#include <dune/istl/bvector.hh>
|
||||
#include <dune/istl/bcrsmatrix.hh>
|
||||
#include <dune/istl/operators.hh>
|
||||
|
Loading…
Reference in New Issue
Block a user