From 0e5863c86ae3513d09c17ff23e465156d65b47d1 Mon Sep 17 00:00:00 2001 From: Leandro Motta Barros Date: Wed, 1 Mar 2017 14:33:45 -0300 Subject: [PATCH] Fix RANDOM_MAX, which is 2^32-1 with PCG32. --- core/math/math_funcs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index da7d534a4e0..ae461eda2e3 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 };