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
bc371d4df1
commit
477cc66a84
@ -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