diff options
Diffstat (limited to 'js/IntegerOp/DLATCH.js')
-rw-r--r-- | js/IntegerOp/DLATCH.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js index 2f7a70d9..b089a1c4 100644 --- a/js/IntegerOp/DLATCH.js +++ b/js/IntegerOp/DLATCH.js @@ -33,8 +33,8 @@ function DLATCH() { this.model.firing = new ScilabBoolean([false]); this.model.dep_ut = new ScilabBoolean([true,false]); this.model.rpar = new ScilabDouble([scs_m]); - this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DLATCH\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,3]),this.model,new ScilabDouble([]),this.gr_i); + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DLATCH\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2,3]),this.model,new ScilabDouble([]),gr_i); return new BasicBlock(this.x); } DLATCH.prototype.details = function DLATCH() { |