mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
creating StandardWellV as the new well model
to employ dynamic-size Evalution, vectors and matrices.
This commit is contained in:
@@ -62,7 +62,7 @@ inline EvalWell zeroIfNanInf(const EvalWell& value) {
|
||||
OpmLog::warning("NAN_OR_INF_VFP_EVAL", "NAN or INF Evalution encountered during VFP calculation, the Evalution is set to zero");
|
||||
}
|
||||
|
||||
return nan_or_inf ? 0.0 : value;
|
||||
return nan_or_inf ? 0.0 * value : value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user