Fixup 42b309165a
get_next_random() had the side effect of also bumping random_calls_.
This commit is contained in:
parent
3252348dd6
commit
43edb92537
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ void mt_rng::seed_random(const uint32_t seed, const unsigned int call_count)
|
|||
random_seed_ = seed;
|
||||
mt_.seed(random_seed_);
|
||||
mt_.discard(call_count);
|
||||
random_calls_ += call_count;
|
||||
DBG_RND << "Seeded random with " << std::hex << random_seed_ << std::dec << " with "
|
||||
<< random_calls_ << " calls." << std::endl;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue