Reset the number generator before rerunning the preprocessor

This commit is contained in:
Guilhem Lavaux 2013-02-27 12:40:11 -06:00
parent 5cf7a94538
commit 7e121e5b5d
2 changed files with 4 additions and 0 deletions

View file

@ -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++)
{