X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/eeacc47e3671f4196e6ede422415d636ffa30e98..0c8946b7a59db0f227269a21c25e2e84ec0a8032:/Experimentations/make_params?ds=sidebyside diff --git a/Experimentations/make_params b/Experimentations/make_params index 7dd1661..dd7e201 100755 --- a/Experimentations/make_params +++ b/Experimentations/make_params @@ -16,10 +16,13 @@ die() { test -r "$TEMPLATE" || die "file not found: $TEMPLATE" +source "$TEMPLATE" || die "cannot read file: $TEMPLATE" +declare -a common_opts=( "${MORE_ARGS[@]}" ) + for flavour in "I" "R"; do for distrib in "1" "N"; do for ratio in "1000:1" "100:1" "10:1" "1:1" "1:10" "1:100" "1:1000"; do - declare -a opts=( -m1e-4 -M10 ) + declare -a opts=( "${common_opts[@]}" ) case "$flavour" in "I") opts+=( -Z ) ;; "R") : ;;