creating StandardWellV as the new well model

to employ dynamic-size Evalution, vectors and matrices.
This commit is contained in:
Kai Bao
2018-11-28 14:24:29 +01:00
parent b079c0a1e5
commit a08216efd5
10 changed files with 3259 additions and 6 deletions

View File

@@ -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;
}