mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
It seems like currentValue.primaryVarsMeaningBrine() will return an uninitialized variable if enableSaltPrecipitation is false. This can lead to undefined behavior especially in a parallel run. Hence we also check whether salt precipitation is is enabled and do nothing otherwise.