summaryrefslogtreecommitdiff
path: root/js/IntegerOp/SRFLIPFLOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/SRFLIPFLOP.js')
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 19b180db..d00d54cb 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -38,6 +38,8 @@ function SRFLIPFLOP() {
SRFLIPFLOP.prototype.get = function SRFLIPFLOP() {
}
SRFLIPFLOP.prototype.set = function SRFLIPFLOP() {
+ this.init = parseFloat((arguments[0]["init"]))
+ this.exprs0 = parseFloat((arguments[0]["exprs0"]))
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o = arg1.model.rpar.objs[i-1];
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {