From fbe1c8f3877095407bd5bba6e430f19df2f69e96 Mon Sep 17 00:00:00 2001 From: Lars Gottesbueren Date: Fri, 20 Sep 2024 11:23:17 +0200 Subject: [PATCH] swap out pcg rng for mt19937 --- .../partition/refinement/rebalancing/advanced_rebalancer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mt-kahypar/partition/refinement/rebalancing/advanced_rebalancer.cpp b/mt-kahypar/partition/refinement/rebalancing/advanced_rebalancer.cpp index 0a04165c0..9829960e1 100644 --- a/mt-kahypar/partition/refinement/rebalancing/advanced_rebalancer.cpp +++ b/mt-kahypar/partition/refinement/rebalancing/advanced_rebalancer.cpp @@ -28,13 +28,12 @@ #include #include +#include #include "mt-kahypar/partition/refinement/gains/gain_definitions.h" #include "mt-kahypar/utils/cast.h" #include "mt-kahypar/partition/context.h" -#include "pcg_random.hpp" - namespace mt_kahypar { namespace impl { @@ -119,7 +118,7 @@ namespace impl { return result; } - pcg32 rng; + std::mt19937 rng; std::uniform_int_distribution dist; };