mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
finishing the function addWellContributions for StandardWellV
This commit is contained in:
@@ -62,7 +62,9 @@ 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 : value;
|
||||
using Toolbox = MathToolbox<EvalWell>;
|
||||
|
||||
return nan_or_inf ? Toolbox::createBlank(value) : value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user