From 5cc903bbe0ead5d076fd0341a1a34f42fea78d0a Mon Sep 17 00:00:00 2001 From: Kristian Flikka Date: Thu, 6 Feb 2014 21:17:36 +0100 Subject: [PATCH] Initializing do_hyst_ to false, this caused random segfaults in sim_fibo_ad --- opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp b/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp index b2b9fd47..c3006993 100644 --- a/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp +++ b/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp @@ -100,8 +100,9 @@ namespace Opm } // Saturation table scaling - do_eps_ = false; - do_3pt_ = false; + do_hyst_ = false; + do_eps_ = false; + do_3pt_ = false; if (deck.hasField("ENDSCALE")) { //if (!phase_usage_.phase_used[Aqua] || !phase_usage_.phase_used[Liquid] || phase_usage_.phase_used[Vapour]) { // OPM_THROW(std::runtime_error, "Currently endpoint-scaling limited to oil-water systems without gas.");