Skip to content

Commit

Permalink
swap out pcg rng for mt19937
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgottesbueren committed Sep 20, 2024
1 parent afd13e3 commit fbe1c8f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@

#include <array>
#include <optional>
#include <random>

#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 {
Expand Down Expand Up @@ -119,7 +118,7 @@ namespace impl {
return result;
}

pcg32 rng;
std::mt19937 rng;
std::uniform_int_distribution<size_t> dist;
};

Expand Down

0 comments on commit fbe1c8f

Please sign in to comment.