fix return type for phaseIdx and compIdx

This commit is contained in:
Tor Harald Sandve 2021-11-25 14:56:27 +00:00
parent 2352d94c0e
commit 6277d12d16
2 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@ protected:
return ebos_simulator_.vanguard().eclState().runspec().co2Storage();
}
inline bool phaseIdx_() const
inline int phaseIdx_() const
{
if(co2store_())
return FluidSystem::oilPhaseIdx;
@ -182,7 +182,7 @@ protected:
return FluidSystem::waterPhaseIdx;
}
inline bool compIdx_() const
inline int compIdx_() const
{
if(co2store_())
return FluidSystem::oilCompIdx;

View File

@ -161,7 +161,7 @@ private:
return ebos_simulator_.vanguard().eclState().runspec().co2Storage();
}
inline bool phaseIdx_() const
inline int phaseIdx_() const
{
if(co2store_())
return FluidSystem::oilPhaseIdx;