From a2caa2cb5553529b6900dc893af00135aa3f25b6 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Thu, 16 May 2019 14:15:06 +0200 Subject: [PATCH] lint --- src/nub.ts | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/nub.ts b/src/nub.ts index 701ece35..7e045cfa 100644 --- a/src/nub.ts +++ b/src/nub.ts @@ -133,23 +133,6 @@ export abstract class Nub extends ComputeNode implements IObservable { } } - /** - * Returns values of parameters and the result of the calculation for the calculated parameter - * @param sVarCalc Symbol of the calculated param - * @param result Result object of the calculation - */ - protected getParamValuesAfterCalc(sVarCalc: string, result: Result): { [key: string]: number } { - const cPrms: { [key: string]: number } = {}; - for (const p of this.parameterIterator) { - if (p.symbol === sVarCalc) { - cPrms[p.symbol] = result.vCalc; - } else { - cPrms[p.symbol] = p.v; - } - } - return cPrms; - } - /** * Resets the calculated parameter to the default one if it is in SINGLE * mode, or else to the first calculable parameter other than requirer. @@ -1051,6 +1034,23 @@ export abstract class Nub extends ComputeNode implements IObservable { this._observable.notifyObservers(data, sender); } + /** + * Returns values of parameters and the result of the calculation for the calculated parameter + * @param sVarCalc Symbol of the calculated param + * @param result Result object of the calculation + */ + protected getParamValuesAfterCalc(sVarCalc: string, result: Result): { [key: string]: number } { + const cPrms: { [key: string]: number } = {}; + for (const p of this.parameterIterator) { + if (p.symbol === sVarCalc) { + cPrms[p.symbol] = result.vCalc; + } else { + cPrms[p.symbol] = p.v; + } + } + return cPrms; + } + /** * For all SINGLE, LINK and CALC parameters, copies singleValue to * sandbox value (.v) before calculation -- GitLab