mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-30 13:03:49 -06:00
remove warning due to unintialized values.
This commit is contained in:
parent
b7996ff5fe
commit
2c12246698
@ -1018,7 +1018,8 @@ private:
|
||||
|
||||
// this assumes that capillary pressures only depend on the phase saturations
|
||||
// and possibly on temperature. (this is always the case for ECL problems.)
|
||||
Scalar pc[numPhases];
|
||||
Scalar pc[numPhases] = { 0 };
|
||||
|
||||
const auto& matParams = materialLawParams_(dofIdx);
|
||||
MaterialLaw::capillaryPressures(pc, matParams, dofFluidState);
|
||||
Valgrind::CheckDefined(oilPressure);
|
||||
|
Loading…
Reference in New Issue
Block a user