Merge pull request #838 from andlaus/initialize_SatHyst

properly initialize the attributes of the SatHyst class
This commit is contained in:
Atgeirr Flø Rasmussen 2015-08-10 14:26:54 +02:00
commit d8edb3db92

View File

@ -65,6 +65,14 @@ namespace Opm
// Hysteresis
struct SatHyst {
SatHyst() {
sg_hyst = -1.0;
sow_hyst = -1.0;
sg_shift = 0.0;
sow_shift = 0.0;
}
double sg_hyst;
double sg_shift;
double sow_hyst;