From c8c8987174b14df419c6d9e7550db005386c4f85 Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 2 Apr 2020 16:38:50 +0200 Subject: [PATCH] fix: missing return in tuple --- eo/src/eoEvalFoundryEA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/eoEvalFoundryEA.h b/eo/src/eoEvalFoundryEA.h index b5f87c2a5..c2e3a778e 100644 --- a/eo/src/eoEvalFoundryEA.h +++ b/eo/src/eoEvalFoundryEA.h @@ -89,7 +89,7 @@ public: size_t sele = static_cast(std::ceil( sol[i_sele] * _foundry.selectors .size() )); size_t repl = static_cast(std::ceil( sol[i_repl] * _foundry.replacements.size() )); - return {cont, cros, muta, repl}; + return {cont, cros, muta, sele, repl}; } /** Perform a sub-problem search with the configuration encoded in the given solution