diff --git a/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts b/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts index 632a7ed28e85ca9ab38adbdd74d2fcb7399d1e2d..900374f8c1aeb91bd890c19a013ce9c805f59c56 100755 --- a/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts +++ b/Frontend Angular 4/src/app/layout/plotter/graph2D/graph2D.component.ts @@ -1056,7 +1056,7 @@ generateFunctionAndExp = function (exp,graph,namefun6) { var lisB = this.generateFunctionAndExp(exp.exp2,graph,namefun6); var cond = this.createListExp(exp.cond); var g = this.createListExp(exp.cond); - var aux121 = []; + var cond2 = g.splice(1); var union = g[0] @@ -1065,6 +1065,7 @@ generateFunctionAndExp = function (exp,graph,namefun6) { union = '('+union+' && '+a+')'; } for (var fun1 of lisA){ + var aux121 = []; if(fun1[0] == 'N'){ if(cond.length == 0){ aux121[0]='N';