Commit af7e7d8f authored by leonelrosano's avatar leonelrosano
Browse files

Solucion de bug de discontinuidad

parent d517c3e4
...@@ -1050,7 +1050,7 @@ generateFunctionAndExp = function (exp,graph,namefun6) { ...@@ -1050,7 +1050,7 @@ generateFunctionAndExp = function (exp,graph,namefun6) {
var lisB = this.generateFunctionAndExp(exp.exp2,graph,namefun6); var lisB = this.generateFunctionAndExp(exp.exp2,graph,namefun6);
var cond = this.createListExp(exp.cond); var cond = this.createListExp(exp.cond);
var g = this.createListExp(exp.cond); var g = this.createListExp(exp.cond);
var aux121 = [];
var cond2 = g.splice(1); var cond2 = g.splice(1);
var union = g[0] var union = g[0]
...@@ -1059,6 +1059,7 @@ generateFunctionAndExp = function (exp,graph,namefun6) { ...@@ -1059,6 +1059,7 @@ generateFunctionAndExp = function (exp,graph,namefun6) {
union = '('+union+' && '+a+')'; union = '('+union+' && '+a+')';
} }
for (var fun1 of lisA){ for (var fun1 of lisA){
var aux121 = [];
if(fun1[0] == 'N'){ if(fun1[0] == 'N'){
if(cond.length == 0){ if(cond.length == 0){
aux121[0]='N'; aux121[0]='N';
......
Markdown is supported
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