From af7e7d8f931f23e665c5a01654b87058b448404f Mon Sep 17 00:00:00 2001 From: leonelrosano <leonelrosano@gmail.com> Date: Sat, 24 Aug 2019 21:30:22 -0300 Subject: [PATCH] Solucion de bug de discontinuidad --- .../src/app/layout/plotter/graph2D/graph2D.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 b8b16768..f8f86f40 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 @@ -1050,7 +1050,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] @@ -1059,6 +1059,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'; -- GitLab