Warning concerning a missing constexpr
tetsuhaut opened this issue · 3 comments
tetsuhaut commented
In file include/frozen/random.h, line 55,
if(modulus != 0)
should read
if constexpr (modulus != 0)
I tried to make a pull request but couldn't due to a 403 error.
serge-sans-paille commented
frozen is written in c++14 where if constexpr
is not supported. I'll use another approach.
serge-sans-paille commented
Can you confirm #128 fixes your issue? Thanks!
tetsuhaut commented
Works great :)