Properly setup seed in RNG
This commit is contained in:
@ -34,8 +34,7 @@
|
||||
|
||||
RandomPCG::RandomPCG(uint64_t p_seed, uint64_t p_inc) :
|
||||
pcg(),
|
||||
current_seed(DEFAULT_SEED) {
|
||||
pcg.inc = p_inc;
|
||||
current_inc(p_inc) {
|
||||
seed(p_seed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user