mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix return type for phaseIdx and compIdx
This commit is contained in:
parent
2352d94c0e
commit
6277d12d16
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user