diff options
author | Sunil Shetye | 2018-07-11 15:19:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-11 15:21:08 +0530 |
commit | 0047c3bea1d86b12a08544f6f0833c63e77f6eac (patch) | |
tree | 36fc72fa9e5ea73c64a44e061b2c9c80e0307884 /js/IntegerOp/DFLIPFLOP.js | |
parent | 079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff) | |
download | sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2 sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip |
support vector also
Diffstat (limited to 'js/IntegerOp/DFLIPFLOP.js')
-rw-r--r-- | js/IntegerOp/DFLIPFLOP.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js index 79215c3e..80a84dfd 100644 --- a/js/IntegerOp/DFLIPFLOP.js +++ b/js/IntegerOp/DFLIPFLOP.js @@ -82,11 +82,11 @@ function DFLIPFLOP() { this.model.in2 = new ScilabDouble([1],[1],[1]); this.model.out = new ScilabDouble([1],[1]); this.model.out2 = new ScilabDouble([1],[1]); - this.model.intyp = [5,1,1]; - this.model.outtyp = [5,5]; + this.model.intyp = new ScilabDouble([5,1,1]); + this.model.outtyp = new ScilabDouble([5,5]); this.model.blocktype = new ScilabString(["h"]); this.model.firing = new ScilabBoolean([false]); - this.model.dep_ut = [true,false]; + this.model.dep_ut = new ScilabDouble([true,false]); this.model.rpar = new ScilabDouble([scs_m]); var gr_i = []; this.x = standard_define([2,3],this.model,[],gr_i); |