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