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/Threshold/NEGTOPOS_f.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Threshold/NEGTOPOS_f.js') diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js index 50e5cdc3..81414ce2 100644 --- a/js/Threshold/NEGTOPOS_f.js +++ b/js/Threshold/NEGTOPOS_f.js @@ -10,7 +10,7 @@ function NEGTOPOS_f() { this.model.blocktype = new ScilabString(["z"]); this.model.firing = new ScilabDouble([-1]); this.model.dep_ut = new ScilabDouble([true,false]); - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"NEGTOPOS_f\",sz(1),sz(2));"]); this.x = standard_define([2,2],this.model,[],gr_i); return new BasicBlock(this.x); } -- cgit