From a2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 12 Jul 2018 21:09:17 +0530 Subject: define gr_i --- js/IntegerOp/CONVERT.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/IntegerOp/CONVERT.js') diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js index 76f957bb..dab0ab34 100644 --- a/js/IntegerOp/CONVERT.js +++ b/js/IntegerOp/CONVERT.js @@ -15,7 +15,7 @@ function CONVERT() { this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([true,false]); var exprs = [[sci2exp(1)],[sci2exp(3)],[sci2exp(0)]]; - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CONVERT\",sz(1),sz(2));"]); this.x = standard_define([3,2],this.model,exprs,gr_i); return new BasicBlock(this.x); } -- cgit