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/Linear/PID.js | |
parent | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (diff) | |
download | sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.gz sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.bz2 sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.zip |
use format string
Diffstat (limited to 'js/Linear/PID.js')
-rw-r--r-- | js/Linear/PID.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Linear/PID.js b/js/Linear/PID.js index 1c7e2748..f4822015 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -69,7 +69,7 @@ ppath[3-1]=o.to(1); } } if (and(ppath!=list(0,0,0))) { -break +break; } } } @@ -87,7 +87,7 @@ y=0; while (true) { [ok,p,i,d,exprs0]=scicos_getvalue("Set PID parameters",["Proportional","Integral","Derivation"],list("vec",-1,"vec",-1,"vec",-1),exprs); if (!ok) { -break +break; } if (ok) { xx1.graphics.exprs=exprs0(1); @@ -99,7 +99,7 @@ xx3.model.rpar=d; arg1.model.rpar.objs[ppath[1-1]-1]=xx1; arg1.model.rpar.objs[ppath[2-1]-1]=xx2; arg1.model.rpar.objs[ppath[3-1]-1]=xx3; -break +break; } } needcompile=0; |