Also do explicit fallback for double-interp

This commit is contained in:
Stein Krogstad 2023-05-31 13:46:36 +02:00
parent 2dcebd4bdd
commit 2f8d210896

View File

@ -348,7 +348,7 @@ VFPEvaluation bhp(const VFPProdTable& table,
double flo = detail::getFlo(table, aqua, liquid, vapour);
double wfr = detail::getWFR(table, aqua, liquid, vapour);
double gfr = detail::getGFR(table, aqua, liquid, vapour);
if (use_vfpexplicit) {
if (use_vfpexplicit || -flo < table.getFloAxis().front()) {
wfr = explicit_wfr;
gfr = explicit_gfr;
}