From 4576917061a1bf041922d7cb151f39da080a8860 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 4 Apr 2014 16:06:19 +0200 Subject: [PATCH] Fix undersaturatd viscosity table Data is now correctly read from ununderdatTable instead of pvtgTable --- opm/core/props/pvt/SinglePvtLiveGas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/props/pvt/SinglePvtLiveGas.cpp b/opm/core/props/pvt/SinglePvtLiveGas.cpp index 43debe7b..283e7030 100644 --- a/opm/core/props/pvt/SinglePvtLiveGas.cpp +++ b/opm/core/props/pvt/SinglePvtLiveGas.cpp @@ -99,7 +99,7 @@ namespace Opm undersat_gas_tables_[i].resize(3); undersat_gas_tables_[i][0] = undersatTable.getOilSolubilityColumn(); undersat_gas_tables_[i][1] = undersatTable.getGasFormationFactorColumn(); - undersat_gas_tables_[i][2] = pvtgTable.getOuterTable()->getGasViscosityColumn(); + undersat_gas_tables_[i][2] = undersatTable.getGasViscosityColumn(); } }