From af79b9555cebdfbd710cc7690a00c12bf8c2ff36 Mon Sep 17 00:00:00 2001 From: Xavier Raynaud Date: Wed, 25 Apr 2012 09:23:59 +0200 Subject: [PATCH] Fixed bug in computation of effectiveTotalMobility. --- opm/polymer/PolymerProperties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/polymer/PolymerProperties.cpp b/opm/polymer/PolymerProperties.cpp index 255e83f42..208ca09fb 100644 --- a/opm/polymer/PolymerProperties.cpp +++ b/opm/polymer/PolymerProperties.cpp @@ -313,7 +313,7 @@ namespace Opm bool if_with_der) const { double mob[2]; - double dmob_ds[2]; + double dmob_ds[4]; double dmobwat_dc; effectiveMobilitiesBoth(c, cmax, visc, relperm, drelperm_ds, mob, dmob_ds, dmobwat_dc, if_with_der);