From 0047c3bea1d86b12a08544f6f0833c63e77f6eac Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 11 Jul 2018 15:19:38 +0530 Subject: support vector also --- js/Electrical/PMOS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Electrical/PMOS.js') diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js index ade7e825..59dc456b 100644 --- a/js/Electrical/PMOS.js +++ b/js/Electrical/PMOS.js @@ -13,7 +13,7 @@ function PMOS() { this.RDS = 1.e+7; this.model.sim = new ScilabString(["PMOS"]); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = [true,false]; + this.model.dep_ut = new ScilabDouble([true,false]); var mo = modelica(); mo.model = "PMOS"; mo.outputs = [["D"],["B"],["S"]]; -- cgit