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.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js
index 6e2bb7b1..a0182582 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -45,6 +45,7 @@ function Diode() {
this.Vt = parseFloat(arguments[0]["Vt"]);
this.Maxexp = parseFloat(arguments[0]["Maxexp"]);
this.R = parseFloat(arguments[0]["R"]);
+ var exprs = [arguments[0]["Ids"], arguments[0]["Vt"], arguments[0]["Maxexp"], arguments[0]["R"]];
if (!ok) {
break;
}