Permalink
Browse files

Distribution of permute function is fine.

  • Loading branch information...
1 parent 482db10 commit 428d9a8982e7441527a025b96d94cf0401584482 @dubiousjim committed Aug 10, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 library.awk
View
@@ -172,7 +172,6 @@ function choose(n, k, A, i, r, p) {
# random permutation of k=n integers between 1 and n
-# the distribution of this isn't great, but it does cover the whole range of permutations
# a random deck is: split(permute(52,52), deck, SUBSEP)
function permute(n, k, i, r, p) {
k = checkpos(k, n, "permute: second argument must be positive")

0 comments on commit 428d9a8

Please sign in to comment.