Skip to content
  • sarnoux's avatar
    With g++ 11.2.0 and Boost 1.74.0, std::shuffle() can't be used with... · 176ddcd2
    sarnoux authored
    With g++ 11.2.0 and Boost 1.74.0, std::shuffle() can't be used with boost::random::mt19937 (at least not the way it was used):
            error:  call to non-‘constexpr’ function ‘static boost::random::mersenne_twister_engine...
            => use std::mt19937 for each call of shuffle()
            WARNING: but a different seed is used ! To be fixed ! If not it won't be possible to get exactly the same results (by choosing a seed)
    176ddcd2
Loading