diff options
Diffstat (limited to 'js/Electrical/ConstantVoltage.js')
-rw-r--r-- | js/Electrical/ConstantVoltage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js index f0eef731..3c704577 100644 --- a/js/Electrical/ConstantVoltage.js +++ b/js/Electrical/ConstantVoltage.js @@ -33,14 +33,14 @@ model=arg1.model; while (true) { [ok,V,exprs]=scicos_getvalue("Set ConstantVoltage block parameter","V (volt)",list("vec",1),exprs); if (!ok) { -break +break; } model.rpar=V; model.equations.parameters[2-1]=list(V); graphics.exprs=exprs; x.graphics=graphics; x.model=model; -break +break; } } } |