Closed maxGimeno closed 3 years ago
Can one of the admins verify this patch?
The constructor of std::minstd_rand
expects a std::uint_fast32_t
as first argument.
unsigned long int
, and thus a 64 bits unsigned.unsigned int
, and thus only a 32 bits integer.And thus on Windows, passing seed
to that std::uint_fast32_t
argument is a narrowing conversion. As the constructor was called with {seed}
and not (seed)
, that narrowing conversion triggered an error.
Ok to test
Thanks!
Fix #469