summaryrefslogtreecommitdiff
path: root/js/IntegerOp/SRFLIPFLOP.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 10:38:38 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5a28e41a3105338f747b8a30f67000920490c67d (patch)
treee55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/IntegerOp/SRFLIPFLOP.js
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip
make string as the default type
Diffstat (limited to 'js/IntegerOp/SRFLIPFLOP.js')
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 83b5aee6..9a05ad70 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -41,8 +41,8 @@ function SRFLIPFLOP() {
return options;
}
SRFLIPFLOP.prototype.set = function SRFLIPFLOP() {
- 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") {