Open richelbilderbeek opened 5 years ago
As Rob already uses this, I assign him.
@richelbilderbeek The function returns different numbers on Travis, but 10 times the same on my laptop...?
Keiweird indeed!
Is the error still there, on your branch? If yes, I will ask a Thursday member to reproduce.
Yeah, it's still there.
Searching for std::rand
, I still find some usages. Please replace those by calls to the RNG engine as well. Yes, you will need to pass that Mersienne twister class :+1:
I think my branched stalled because of this, I deleted it and recreated it but this is lost because of that
Could multiple seniors/mediors check whether my solution actually works on their computers?
Is your feature request related to a problem? Please describe.
Currently, we use
std::rand
andstd::srand
. There is a superior solution, to use astd::rng_engine
andstd::something_distribution
.Describe the solution you'd like
std::rng_engine
ingame
std::rand
by calling astd::something_distribution
std::srand
Describe alternatives you've considered
None.
Additional context
None.