Skip to content

Commit

Permalink
Fixed ugly cast
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotheinrich committed Nov 9, 2023
1 parent b7c63f1 commit d3063be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ void State::apply_ops_parallel(InputIterator first, InputIterator last,

std::vector<size_t> rng_seeds(NUM_STATES);
for (int_t i = 0; i < NUM_STATES; i++) {
rng_seeds[i] = size_t(rng.rand_int(0ULL, 18446744073709551615ULL));
rng_seeds[i] = rng.rand_int<size_t>(0, SIZE_MAX);
}

#pragma omp parallel for if (BaseState::qreg_.check_omp_threshold() && \
Expand Down

0 comments on commit d3063be

Please sign in to comment.