From 884d1b369dec2654d46c2dab31d2ae85b0be01ba Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 13 Jul 2018 23:47:42 +0530 Subject: support for new standard_define --- js/Branching/SWITCH2_m.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Branching/SWITCH2_m.js') diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js index ee598779..211b8a1a 100644 --- a/js/Branching/SWITCH2_m.js +++ b/js/Branching/SWITCH2_m.js @@ -20,7 +20,7 @@ function SWITCH2_m() { this.model.dep_ut = new ScilabDouble([true,false]); this.exprs = [[sci2exp(1)],[string(ipar)],[string(rpar)],[string(this.nzz)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SWITCH2_m\",sz(1),sz(2));"]); - this.x = standard_define([2,2],this.model,this.exprs,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i); return new BasicBlock(this.x); } SWITCH2_m.prototype.details = function SWITCH2_m() { -- cgit