summaryrefslogtreecommitdiff
path: root/js/Electrical/ConstantVoltage.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/ConstantVoltage.js')
-rw-r--r--js/Electrical/ConstantVoltage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js
index d2f80fb1..b63e2cc1 100644
--- a/js/Electrical/ConstantVoltage.js
+++ b/js/Electrical/ConstantVoltage.js
@@ -8,7 +8,7 @@ function ConstantVoltage() {
this.model.out = new ScilabDouble([1]);
this.model.sim = new ScilabString(["ConstantVoltage"]);
this.model.blocktype = new ScilabString(["c"]);
- this.model.dep_ut = new ScilabDouble([false,false]);
+ this.model.dep_ut = new ScilabBoolean([false,false]);
var mo = modelica();
mo.model = "ConstantVoltage";
mo.inputs = "p";