diff options
author | Sunil Shetye | 2018-07-15 00:26:52 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-15 07:11:58 +0530 |
commit | 92f8a251bbaeddf6ec034722a3079d865517d650 (patch) | |
tree | fb1b9f51c3456c04c02ac3ab144b65bdd392e98b /js/Electrical/PNP.js | |
parent | c394c9628cd411c95def024d47f10d953e160ec5 (diff) | |
download | sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.gz sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.bz2 sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.zip |
handle boolean differently
Diffstat (limited to 'js/Electrical/PNP.js')
-rw-r--r-- | js/Electrical/PNP.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js index 38ed38e9..676cf5fd 100644 --- a/js/Electrical/PNP.js +++ b/js/Electrical/PNP.js @@ -39,7 +39,7 @@ function PNP() { this.exprs = [["50"],["0.1"],["1.e-16"],["0.02"],["0.12e-9"],["5e-9"],["1e-12"],["0.4e-12"],["0.5e-12"],["0.8"],["0.4"],["0.8"],["0.333"],["1e-15"],["1e-15"],["0.02585"],["40"]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"PNP\",sz(1),sz(2));"]); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = new ScilabDouble([false,true]); + this.model.dep_ut = new ScilabBoolean([false,true]); mo.model = ModelName; this.model.equations = new ScilabDouble([mo]); this.model.in = new ScilabDouble([ones(size(MI,"*"),1)]); |