diff options
author | Sunil Shetye | 2018-06-26 12:08:19 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-26 12:08:19 +0530 |
commit | afed64f1a0eab0b2d742088186d7bc340a2c895b (patch) | |
tree | 7270fd2e6c53e6df90c71e2fcbccd8149c3553a5 /js/Misc/CBLOCK4.js | |
parent | 7465daea85285ba7f291b6bf6ddc45caa9e7ad65 (diff) | |
download | sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.tar.gz sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.tar.bz2 sci2js-afed64f1a0eab0b2d742088186d7bc340a2c895b.zip |
return block type in define and set
Diffstat (limited to 'js/Misc/CBLOCK4.js')
-rw-r--r-- | js/Misc/CBLOCK4.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js index aa5861a4..f0d39733 100644 --- a/js/Misc/CBLOCK4.js +++ b/js/Misc/CBLOCK4.js @@ -14,6 +14,7 @@ function CBLOCK4() { label = list([[funam],["n"],[sci2exp([model.in1,model.in2])],[sci2exp(model.intyp)],[sci2exp([model.out,model.out2])],[sci2exp(model.outtyp)],[sci2exp(model.evtin)],[sci2exp(model.evtout)],[sci2exp(model.state)],[sci2exp(model.dstate)],[sci2exp(model.odstate)],[sci2exp(model.rpar)],[sci2exp(model.ipar)],[sci2exp(model.opar)],[sci2exp(model.nmode)],[sci2exp(model.nzcross)],[sci2exp(model.firing)],["y"],["n"]],[]); gr_i = []; this.x = standard_define([4,2],model,label,gr_i); + return new BasicBlock(this.x); } CBLOCK4.prototype.details = function CBLOCK4() { return this.x; @@ -107,5 +108,6 @@ function CBLOCK4() { } } } + return new BasicBlock(this.x); } } |