shithub: mc

Download patch

ref: 7bdc67c54c5947c4f5c2f31a44a67e1c5409eb2f
parent: 79f9ac7bc6aa7d3bd82568d022ca3c4ead841873
author: Ori Bernstein <[email protected]>
date: Mon Dec 16 18:44:10 EST 2013

Fix minor formatting issue.

--- a/libstd/rand.myr
+++ b/libstd/rand.myr
@@ -96,8 +96,8 @@
 	assert(hi - lo > 0, "rand.myr: range for random values must be >= 1")
 	assert(span < maxrand, "rand.myr: span of ranges is too large")
 	div = maxrand/(span+1)
-	val = (randN(rng) & maxrand) / div
 
+	val = (randN(rng) & maxrand) / div
 	while val >= span
 		val = randN(rng) / div
 	;;