summaryrefslogtreecommitdiff
path: root/js/IntegerOp/JKFLIPFLOP.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-15 00:26:52 +0530
committerSunil Shetye2018-07-15 07:11:58 +0530
commit92f8a251bbaeddf6ec034722a3079d865517d650 (patch)
treefb1b9f51c3456c04c02ac3ab144b65bdd392e98b /js/IntegerOp/JKFLIPFLOP.js
parentc394c9628cd411c95def024d47f10d953e160ec5 (diff)
downloadsci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.gz
sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.bz2
sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.zip
handle boolean differently
Diffstat (limited to 'js/IntegerOp/JKFLIPFLOP.js')
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index 63b245c0..3c8ab1e0 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -42,7 +42,7 @@ function JKFLIPFLOP() {
this.model.outtyp = new ScilabDouble([5,5]);
this.model.blocktype = new ScilabString(["h"]);
this.model.firing = new ScilabBoolean([false]);
- this.model.dep_ut = new ScilabDouble([true,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),\"JKFLIPFLOP\",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([2,3]),this.model,[],this.gr_i);