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