Initializing do_hyst_ to false, this caused random segfaults in sim_fibo_ad

This commit is contained in:
Kristian Flikka 2014-02-06 21:17:36 +01:00
parent 45b080b5be
commit 5cc903bbe0

View File

@ -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.");