Faster PRNG
This commit is contained in:
parent
dbad2995c5
commit
dc2e587fb0
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ constexpr Type mag2db(Type in)
|
|||
*/
|
||||
namespace Random {
|
||||
static std::random_device randomDevice;
|
||||
static std::mt19937 randomGenerator { randomDevice() };
|
||||
static std::minstd_rand randomGenerator { randomDevice() };
|
||||
} // namespace Random
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue