Closed terencewtli closed 1 year ago
This part of the code is redundant because we set the internal RNG with srand, but then immediately define another RNG with a pre-defined value.
srand
// setup rng srand(time(0) + getpid()); std::mt19937 rng(seed);
Update: this still occurs all over the code (eg. line 296 in v-3.1.2). Testing to see if removing srand changes anything
@terencewtli Do you know the status of this?
This part of the code is redundant because we set the internal RNG with
srand
, but then immediately define another RNG with a pre-defined value.