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 5cd03621..a25b513d 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -50,7 +50,7 @@ function Diode() {
break;
}
this.model.rpar = new ScilabDouble([this.Ids],[this.Vt],[this.Maxexp],[this.R]);
- this.model.equations.parameters = list(["Ids","Vt","Maxexp","R"],list(this.Ids,this.Vt,this.Maxexp,this.R));
+ this.model.equations.parameters = list(new ScilabDouble([["Ids","Vt","Maxexp","R"]]),list(this.Ids,this.Vt,this.Maxexp,this.R));
this.graphics.exprs = new ScilabDouble([this.exprs]);
this.x.graphics = this.graphics;
this.x.model = this.model;