Skip to content

Commit 7729d85

Browse files
committed
Rename _count to _idx.
1 parent af63592 commit 7729d85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

folly/random/xoshiro256pp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ class xoshiro256pp {
7070

7171
void seed(uint64_t pSeed = default_seed) noexcept {
7272
uint64_t seed_val = pSeed;
73-
for (uint64_t result_count = 0; result_count < VecResCount; result_count++) {
74-
for (uint64_t state_count = 0; state_count < StateSize; state_count++) {
75-
state[idx(state_count, result_count)] = splitmix64(seed_val);
73+
for (uint64_t result_idx = 0; result_idx < VecResCount; result_idx++) {
74+
for (uint64_t state_idx = 0; state_idx < StateSize; state_idx++) {
75+
state[idx(state_idx, result_idx)] = splitmix64(seed_val);
7676
}
7777
}
7878
cur = ResultCount;

0 commit comments

Comments
 (0)