diff options
author | Sunil Shetye | 2018-06-18 17:30:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 20:30:18 +0530 |
commit | cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76 (patch) | |
tree | 56407047bba37f94b7b5f00890b4385cefa502fd /js/Electrical/Diode.js | |
parent | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (diff) | |
download | sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.gz sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.bz2 sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.zip |
use format string
Diffstat (limited to 'js/Electrical/Diode.js')
-rw-r--r-- | js/Electrical/Diode.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js index 1af6fead..dd73689d 100644 --- a/js/Electrical/Diode.js +++ b/js/Electrical/Diode.js @@ -36,14 +36,14 @@ model=arg1.model; while (true) { [ok,Ids,Vt,Maxexp,R,exprs]=scicos_getvalue("Set Diode block parameter",["Saturation cuurent (A)","Voltage equivalent to temperature (Volt)","Max exponent for linear continuation","R (ohm)"],list("vec",1,"vec",1,"vec",1,"vec",1),exprs); if (!ok) { -break +break; } model.rpar=[Ids,Vt,Maxexp,R]; model.equations.parameters=list(["Ids","Vt","Maxexp","R"],list(Ids,Vt,Maxexp,R)); graphics.exprs=exprs; x.graphics=graphics; x.model=model; -break +break; } } } |