summaryrefslogtreecommitdiff
path: root/js/Electrical/CurrentSensor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/CurrentSensor.js')
-rw-r--r--js/Electrical/CurrentSensor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js
index c0468b36..a2f3b791 100644
--- a/js/Electrical/CurrentSensor.js
+++ b/js/Electrical/CurrentSensor.js
@@ -6,7 +6,7 @@ function CurrentSensor() {
this.model.out = new ScilabDouble([1],[1]);
this.model.sim = new ScilabString(["CurrentSensor"]);
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 = "CurrentSensor";
mo.inputs = "p";