From c979ba1f956fcd442dbfce566cf2df3617398170 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Wed, 29 Nov 2017 11:08:14 +0100 Subject: [PATCH] Communicate the default thpress --- ebos/eclthresholdpressure.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebos/eclthresholdpressure.hh b/ebos/eclthresholdpressure.hh index c7592336a..5d0728c46 100644 --- a/ebos/eclthresholdpressure.hh +++ b/ebos/eclthresholdpressure.hh @@ -226,8 +226,8 @@ private: // make sure that the threshold pressures is consistent for parallel // runs. (i.e. take the maximum of all processes) - for (unsigned i = 0; i < thpres_.size(); ++i) - thpres_[i] = gridView.comm().max(thpres_[i]); + for (unsigned i = 0; i < thpresDefault_.size(); ++i) + thpresDefault_[i] = gridView.comm().max(thpresDefault_[i]); } // internalize the threshold pressures which where explicitly specified via the