From 92f8a251bbaeddf6ec034722a3079d865517d650 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Sun, 15 Jul 2018 00:26:52 +0530 Subject: handle boolean differently --- js/Electrical/Resistor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Electrical/Resistor.js') 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"; -- cgit