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 56672e8d..fe93a706 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -27,7 +27,7 @@ Maxexp=15;
R=1.e8;
model=scicos_model();
model.rpar=[Ids,Vt,Maxexp,R];
-model.in=1;
+model.in1=1;
model.out=1;
model.sim="Diode";
model.blocktype="c";