From 3f7f81ef0305293488ba5f7d274dc784d192ed2c Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Tue, 8 Nov 2016 18:59:08 +0000 Subject: [PATCH] Cater variable name change in BCRSMatrix of DUNE 2.5 One of the variables now has a trailing underline. --- opm/autodiff/DuneMatrix.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/autodiff/DuneMatrix.hpp b/opm/autodiff/DuneMatrix.hpp index 40124dc17..f3b121cc9 100644 --- a/opm/autodiff/DuneMatrix.hpp +++ b/opm/autodiff/DuneMatrix.hpp @@ -91,7 +91,11 @@ namespace Opm nnz = ia[rows]; #if DUNE_VERSION_NEWER(DUNE_ISTL, 2, 3) +#if DUNE_VERSION_NEWER(DUNE_ISTL, 2, 5) + this->allocationSize_ = nnz; +#else this->allocationSize = nnz; +#endif this->avg = 0; this->overflowsize = -1.0; #endif