Skip to content

Commit

Permalink
Extra {
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Jan 3, 2025
1 parent ed071f4 commit 4db828a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_Random.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ InitRandom (ULong cpu_seed, int nprocs, ULong gpu_seed)
#ifdef AMREX_USE_OMP
#pragma omp parallel for
#endif
for (int tid = 0; tid < nthreads; tid++) {
for (int tid = 0; tid < nthreads; tid++)
{
ULong init_seed = cpu_seed + tid*nprocs;
generators[tid].seed(init_seed);
Expand Down

0 comments on commit 4db828a

Please sign in to comment.