summaryrefslogtreecommitdiff
path: root/js/Electrical/OpAmp.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/OpAmp.js')
-rw-r--r--js/Electrical/OpAmp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 7f9ae819..4ec8f9dd 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -7,7 +7,7 @@ x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
model=arg1.model;
-while (None) {
+while (false) {
[ok,OLGain,SatH,SatL,exprs]=scicos_getvalue("Set the Operational Amplifier parameters",["Open Loop Gain","Positive saturation voltage","Negative saturation voltage"],list("vec",1,"vec",1,"vec",1),exprs);
if (!ok) {
break
@@ -25,7 +25,7 @@ Z=[];
model=scicos_model();
model.sim="OpAmp";
model.blocktype="c";
-model.dep_ut=[true,None];
+model.dep_ut=[true,false];
mo=modelica();
mo.model=model.sim;
mo.inputs=["in_p","in_n"];