diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-03-01 18:59:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 18:59:24 +0100 |
commit | 68fe36ed26c82d58dd8dffb3c64fd8d3de9569ca (patch) | |
tree | a57acc9168f7a92bf10fbfc0691d2c27d7a6c453 | |
parent | a1cbe8e22bec516b138436d06282046466e89c79 (diff) | |
parent | 0e5863c86ae3513d09c17ff23e465156d65b47d1 (diff) |
Merge pull request #7917 from lmbarros/master
Fix RANDOM_MAX, which is 2^32-1 with PCG32.
[ci skip]
-rw-r--r-- | core/math/math_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index da7d534a4e..ae461eda2e 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -50,7 +50,7 @@ public: Math() {} // useless to instance enum { - RANDOM_MAX=2147483647L + RANDOM_MAX=4294967295L }; |