fix output of gas phase

fixes a regression caused by 65b512e903
This commit is contained in:
Arne Morten Kvarving
2016-09-21 10:46:50 +02:00
parent bf88ccc95a
commit 78049a174e

View File

@@ -240,7 +240,7 @@ namespace Opm
} }
if( pu.phase_used[BlackoilPhases::Vapour] ) { if( pu.phase_used[BlackoilPhases::Vapour] ) {
wellrates.set( rt::wat, wv[ wellrate_index + pu.phase_pos[BlackoilPhases::Vapour] ] ); wellrates.set( rt::gas, wv[ wellrate_index + pu.phase_pos[BlackoilPhases::Vapour] ] );
} }
const double bhp = this->bhp()[ w ]; const double bhp = this->bhp()[ w ];