random: don't use default_random_engine by default
This commit is contained in:
parent
4581f8ce00
commit
54ec225a5a
@ -59,7 +59,7 @@ namespace cruft::random {
|
|||||||
inline auto&
|
inline auto&
|
||||||
generator (void)
|
generator (void)
|
||||||
{
|
{
|
||||||
using generator_t = std::default_random_engine;
|
using generator_t = std::mt19937_64;
|
||||||
|
|
||||||
static thread_local generator_t gen = [] () {
|
static thread_local generator_t gen = [] () {
|
||||||
std::array<int,state_size_v<generator_t> / 4> seed;
|
std::array<int,state_size_v<generator_t> / 4> seed;
|
||||||
|
Loading…
Reference in New Issue
Block a user