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:
Atgeirr Flø Rasmussen 2012-04-13 15:37:11 +02:00
parent c992deb147
commit 709b8c0b82

View File

@ -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>