From 78f7097798aa3de367ffc6ed640c6e3acf822b91 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Mon, 8 Jun 2015 16:56:44 +0200 Subject: [PATCH] adapt to the opm-core API change in the SaturationFunctionsFromDeck to always use non-uniform tables --- opm/autodiff/BlackoilPropsAdFromDeck.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/autodiff/BlackoilPropsAdFromDeck.cpp b/opm/autodiff/BlackoilPropsAdFromDeck.cpp index 4225faabb..40d6a9a3a 100644 --- a/opm/autodiff/BlackoilPropsAdFromDeck.cpp +++ b/opm/autodiff/BlackoilPropsAdFromDeck.cpp @@ -235,10 +235,10 @@ BlackoilPropsAdFromDeck::BlackoilPropsAdFromDeck(const BlackoilPropsAdFromDeck& OPM_THROW(std::runtime_error, "Input has VAPPARS, but missing VAPOIL and/or DISGAS\n"); } - SaturationPropsFromDeck* ptr - = new SaturationPropsFromDeck(); + SaturationPropsFromDeck* ptr + = new SaturationPropsFromDeck(); satprops_.reset(ptr); - ptr->init(deck, eclState, number_of_cells, global_cell, begin_cell_centroids, dimension, -1); + ptr->init(deck, eclState, number_of_cells, global_cell, begin_cell_centroids, dimension); if (phase_usage_.num_phases != satprops_->numPhases()) { OPM_THROW(std::runtime_error, "BlackoilPropsAdFromDeck::BlackoilPropsAdFromDeck() - "