mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Reset the number generator before rerunning the preprocessor
This commit is contained in:
parent
5cf7a94538
commit
7e121e5b5d
2 changed files with 4 additions and 0 deletions
|
@ -592,6 +592,9 @@ int main(int argc, char **argv)
|
|||
else
|
||||
makeBoxFromSimulation(loader, simuOut, metricOperation, args_info);
|
||||
|
||||
// Reset the random number generator
|
||||
gsl_rng_set(rng, args_info.subsample_seed_arg);
|
||||
|
||||
long loaded = 0;
|
||||
for (int nf = 0; nf < loader->num_files(); nf++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue