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