From 7f2e5918917e03a809bde16efa726eb8094058b7 Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Fri, 2 Oct 2020 16:19:49 +0200 Subject: [PATCH] fix default pop size --- eo/contrib/irace/fastga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eo/contrib/irace/fastga.cpp b/eo/contrib/irace/fastga.cpp index c50f650f1..78475e742 100644 --- a/eo/contrib/irace/fastga.cpp +++ b/eo/contrib/irace/fastga.cpp @@ -151,7 +151,7 @@ int main(int argc, char* argv[]) // rng is a global rng.reseed(seed); - auto pop_size_p = parser.getORcreateParam(0, + auto pop_size_p = parser.getORcreateParam(1, "pop-size", "Population size", 'P', "Operator Choice", /*required=*/false); const size_t pop_size = pop_size_p.value(); @@ -207,7 +207,7 @@ int main(int argc, char* argv[]) const size_t replacement = replacement_p.value(); auto offspring_size_p = parser.getORcreateParam(0, - "offspring-size", "Offspringssize (0 = same size than the parents pop, see --pop-size)", + "offspring-size", "Offsprings size (0 = same size than the parents pop, see --pop-size)", 'P', "Operator Choice", /*required=*/true); const size_t offspring_size = offspring_size_p.value();