From 92f8a251bbaeddf6ec034722a3079d865517d650 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Sun, 15 Jul 2018 00:26:52 +0530 Subject: handle boolean differently --- js/Branching/GOTO.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Branching/GOTO.js') diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index d83ec85d..d68cdc42 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -12,7 +12,7 @@ function GOTO() { this.model.ipar = new ScilabDouble([int(1)]); this.model.opar = list(new ScilabString(["A"])); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = new ScilabDouble([false,false]); + this.model.dep_ut = new ScilabBoolean([false,false]); this.exprs = [["A"],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"GOTO\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([2,1]),this.model,this.exprs,this.gr_i); -- cgit