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/NonLinear/INTRP2BLK_f.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/NonLinear/INTRP2BLK_f.js') diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js index 5cb4604d..5cf1f22f 100644 --- a/js/NonLinear/INTRP2BLK_f.js +++ b/js/NonLinear/INTRP2BLK_f.js @@ -11,7 +11,7 @@ function INTRP2BLK_f() { this.model.rpar = new ScilabDouble([this.a],[this.b],[this.c.slice()]); this.model.ipar = new ScilabDouble([2],[2]); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = new ScilabDouble([true,false]); + this.model.dep_ut = new ScilabBoolean([true,false]); this.exprs = [[strcat(sci2exp(this.a))],[strcat(sci2exp(this.b))],[strcat(sci2exp(this.c,0))]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INTRP2BLK_f\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([3,2]),this.model,this.exprs,this.gr_i); -- cgit