summaryrefslogtreecommitdiff
path: root/bench/copious-allocs.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-22 14:39:09 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-22 14:39:09 -0700
commit19d7fac9e6210af527ee1e72de4878d3951c41f6 (patch)
tree763948cf5c19a179153a10435ed40d9c1bd34f3b /bench/copious-allocs.myr
parent16aa8c14d53c4d2e55651d64de26c68f23f21824 (diff)
downloadmc-19d7fac9e6210af527ee1e72de4878d3951c41f6.tar.gz
Start moving benchmark runner code to Myrddin.
Diffstat (limited to 'bench/copious-allocs.myr')
-rw-r--r--bench/copious-allocs.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/copious-allocs.myr b/bench/copious-allocs.myr
index 886adde..1237b7f 100644
--- a/bench/copious-allocs.myr
+++ b/bench/copious-allocs.myr
@@ -43,7 +43,7 @@ const shuffle = {a
rng = std.mksrng(123)
for i = 0; i < a.len - 1; i++
- j = std.rand(rng, i, a.len)
+ j = std.rngrand(rng, i, a.len)
t = a[j]
a[j] = a[i]
a[i] = t