   # @return {BigInteger} the next weak prime
   #
   next_weak : () ->
-
-    next_try = true
-    while next_try
-      next_try = false
+    try_again = true
+    while try_again
 
       step = @sieve[@sievepos]
       @sievepos = (@sievepos + step) % @sieve.length

exports.nbs = nbs
exports.small_primes = small_primes
exports.miller_rabin = miller_rabin


# 
#  Originally:  Copyright (C) 1998 David Mazieres (dm@uun.org)
#

#=================================================================

class Timer
  constructor : () -> @start = Date.now()
  stop : -> (Date.now() - @start)

#=================================================================

