summaryrefslogtreecommitdiff
path: root/js/IntegerOp/JKFLIPFLOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/JKFLIPFLOP.js')
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index 793a4620..5f5e59ef 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -57,8 +57,8 @@ function JKFLIPFLOP() {
return options;
}
JKFLIPFLOP.prototype.set = function JKFLIPFLOP() {
- this.init = parseFloat((arguments[0]["init"]))
- this.exprs0 = parseFloat((arguments[0]["exprs0"]))
+ this.init = parseFloat(arguments[0]["init"])
+ this.exprs0 = 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") {