Apply formatting fixes from code review

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
John Tramm 2019-12-03 10:36:01 -06:00 committed by GitHub
parent 3c408c8c13
commit 2ec02d6472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 10 deletions

View file

@ -270,7 +270,7 @@ void initialize_source()
// initialize random number seed
int64_t id = simulation::total_gen*settings::n_particles +
simulation::work_index[mpi::rank] + i + 1;
uint64_t prn_seeds[N_STREAMS];
uint64_t prn_seeds[N_STREAMS];
set_particle_seed(id, prn_seeds);
// sample external source distribution
@ -334,7 +334,7 @@ void fill_source_bank_fixedsource()
// initialize random number seed
int64_t id = (simulation::total_gen + overall_generation()) *
settings::n_particles + simulation::work_index[mpi::rank] + i + 1;
uint64_t prn_seeds[N_STREAMS];
uint64_t prn_seeds[N_STREAMS];
set_particle_seed(id, prn_seeds);
// sample external source distribution