From 163d16f091147fc9e08560770905de95aa5c68bb Mon Sep 17 00:00:00 2001 From: John Tramm Date: Thu, 5 Dec 2019 19:51:37 +0000 Subject: [PATCH] refactor seed and seed aray variable names --- src/random_lcg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/random_lcg.cpp b/src/random_lcg.cpp index 8af093fb54..48c6b5a61b 100644 --- a/src/random_lcg.cpp +++ b/src/random_lcg.cpp @@ -55,10 +55,10 @@ uint64_t init_seed(int64_t id, int offset) // INIT_PARTICLE_SEEDS //============================================================================== -void init_particle_seeds(int64_t id, uint64_t* prn_seeds) +void init_particle_seeds(int64_t id, uint64_t* seeds) { for (int i = 0; i < N_STREAMS; i++) { - prn_seeds[i] = future_seed(static_cast(id) * prn_stride, master_seed + i); + seeds[i] = future_seed(static_cast(id) * prn_stride, master_seed + i); } }