Commit 24e09d2b authored by Grand Francois's avatar Grand Francois
Browse files

#46 Nub.CalcSerie() : correction crash dans le cas d'un Result sans valeur...

 #46 Nub.CalcSerie() : correction crash dans le cas d'un Result sans valeur calculée (paramètre à varier)
- fusion du log global des résultats
Showing with 5 additions and 3 deletions
+5 -3
......@@ -115,10 +115,12 @@ export abstract class Nub extends ComputeNode {
while (variatedParam.paramValues.hasNext) {
variatedParam.paramValues.next;
this.Calc(computedSymbol, rInit, rPrec); // résultat dans this._result
res.addResultElement(this._result.resultElement);
res.addLog(this._result.log);
if (this._result.ok)
if (this._result.ok) {
res.addResultElement(this._result.resultElement);
res.addLog(this._result.log);
rInit = this._result.resultElement.vCalc;
}
res.globalLog.addLog(this._result.globalLog);
}
this._result = res;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment