From 6c7e2aa6dfc75c6a52d5eba3593e6cff86bc19f6 Mon Sep 17 00:00:00 2001 From: Dimitri Rusin Date: Wed, 8 May 2024 13:46:47 +0200 Subject: [PATCH] Add a keyword to custom randomness extender. --- include/ioh/problem/dynamic_bin_val/dynamic_bin_val_ranking.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ioh/problem/dynamic_bin_val/dynamic_bin_val_ranking.hpp b/include/ioh/problem/dynamic_bin_val/dynamic_bin_val_ranking.hpp index 5a077099..dbb86750 100644 --- a/include/ioh/problem/dynamic_bin_val/dynamic_bin_val_ranking.hpp +++ b/include/ioh/problem/dynamic_bin_val/dynamic_bin_val_ranking.hpp @@ -14,7 +14,7 @@ namespace ioh::problem { struct LCG { uint64_t state; - LCG(uint64_t seed) : state(seed) {} + explicit LCG(uint64_t seed) : state(seed) {} uint64_t next() { // Coefficients for a Linear Congruential Generator