Merge pull request #1178 from andlaus/fix_mcu
mark initHydroCarbonState() as inline
This commit is contained in:
commit
417c5b2d46
@ -6,7 +6,7 @@
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
void initHydroCarbonState(BlackoilState& state, const PhaseUsage& pu, const int num_cells, const bool has_disgas, const bool has_vapoil) {
|
||||
inline void initHydroCarbonState(BlackoilState& state, const PhaseUsage& pu, const int num_cells, const bool has_disgas, const bool has_vapoil) {
|
||||
enum { Oil = BlackoilPhases::Liquid, Gas = BlackoilPhases::Vapour, Water = BlackoilPhases::Aqua };
|
||||
// hydrocarbonstate is only used when gas and oil is present
|
||||
assert(pu.phase_used[Oil]);
|
||||
|
Loading…
Reference in New Issue
Block a user