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/Sources/RAND_m.js | |
parent | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (diff) | |
download | sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.gz sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.bz2 sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.zip |
use format string
Diffstat (limited to 'js/Sources/RAND_m.js')
-rw-r--r-- | js/Sources/RAND_m.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js index 039aedcf..f1559e7b 100644 --- a/js/Sources/RAND_m.js +++ b/js/Sources/RAND_m.js @@ -43,7 +43,7 @@ exprs[9-1]=[]; while (true) { [ok,typ,flag,a,b,seed_c,exprs]=scicos_getvalue(["Set Random generator block parameters","flag = 0 : Uniform distribution A is min and A+B max","flag = 1 : Normal distribution A is mean and B deviation"," ","A and B must be matrix with equal sizes"],["Datatype(1=real double 2=complex)","flag","A","B","SEED"],list("vec",1,"vec",1,"mat",[-1,-2],"mat","[-1 -2]","mat",[1,2]),exprs); if (!ok) { -break +break; } if (flag!=0&&flag!=1) { message("flag must be equal to 1 or 0"); @@ -71,7 +71,7 @@ graphics.exprs=exprs; model.ipar=flag; x.graphics=graphics; x.model=model; -break +break; } } } |