]> AND Private Git Repository - loba.git/blobdiff - Experimentations/make_params
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Cosmetics: use a litteral constant of type double.
[loba.git] / Experimentations / make_params
index 78cf9ae9bc5bfe23d9aef5a9fbc81b975317c516..dd7e201c1a473c9cf0e3be610cfdd8b427e67959 100755 (executable)
@@ -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=( )
+            declare -a opts=( "${common_opts[@]}" )
             case "$flavour" in
                 "I") opts+=( -Z ) ;;
                 "R") : ;;