aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-09-07 14:40:36 +0100
committergingerBill <bill@gingerbill.org>2020-09-07 14:40:36 +0100
commit2dfa3a5df77622f08255069fbb124dc9ec3c2096 (patch)
treec7fa4f10c4d604c0a68f7b2bab052640d6904a7b /core/math
parent1064622ff72c215b45d17398682d6f59b3ca9c73 (diff)
Fix typo
Diffstat (limited to 'core/math')
-rw-r--r--core/math/rand/normal.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rand/normal.odin b/core/math/rand/normal.odin
index 4e4810660..2785abd9d 100644
--- a/core/math/rand/normal.odin
+++ b/core/math/rand/normal.odin
@@ -17,7 +17,7 @@ import "core:math"
//
// sample = norm_float64() * std_dev + mean
//
-norm_float64 :: proc(r: ^Rand = global_rand_ptr) -> f64 {
+norm_float64 :: proc(r: ^Rand = nil) -> f64 {
rn :: 3.442619855899;
@(static)