summaryrefslogtreecommitdiff
path: root/js/IntegerOp/DLATCH.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/DLATCH.js')
-rw-r--r--js/IntegerOp/DLATCH.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index 8dde9f63..e9df7061 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 ScilabDouble([true,false]);
this.model.rpar = new ScilabDouble([scs_m]);
- var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DLATCH\",sz(1),sz(2));"]);
- this.x = standard_define([2,3],this.model,[],gr_i);
+ this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DLATCH\",sz(1),sz(2));"]);
+ this.x = standard_define([2,3],this.model,[],this.gr_i);
return new BasicBlock(this.x);
}
DLATCH.prototype.details = function DLATCH() {