Skip to content
Snippets Groups Projects
Commit 1fc61472 authored by francois.grand's avatar francois.grand
Browse files

#77 FormComputeFixedVar.compute() : suppression de code inutile

parent 90226758
No related branches found
No related tags found
1 merge request!15Resolve "faire les modifications nécessaires prendre en compte le ticket cassiopee/jalhyd#46 (Gestion de la session dans la lib)"
......@@ -54,20 +54,6 @@ export abstract class FormComputeFixedVar extends FormCompute {
else {
// il y a un paramètre à varier
const nubVarParam = nub.getParameter(varParam.symbol);
switch (varParam.valueMode) {
case ParamValueMode.LISTE:
nubVarParam.paramValues.setValues(varParam.paramDefinition.paramValues.valueList);
break;
case ParamValueMode.MINMAX:
const min = varParam.paramDefinition.paramValues.min;
const max = varParam.paramDefinition.paramValues.max;
const step = varParam.paramDefinition.paramValues.step;
nubVarParam.paramValues.setValues(min, max, step);
break;
}
const res: Result = this.runNubCalc(nub, computedParam, computePrec);
this.formResult.varResults.variatedParameter = varParam;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment