]> gitweb.factorcode.org Git - factor.git/commitdiff
math.extras: Fix stirling
authorNiklas Larsson <niklas@mm.st>
Sat, 6 Jul 2019 11:30:52 +0000 (13:30 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 10 Jul 2019 16:42:03 +0000 (09:42 -0700)
Fixes #2149

extra/math/extras/extras.factor

index 4568ac4227e329a95a997ace7112d665a38a2a87..7e99b35364d775caefc0b7e1fe779185c8d6e584 100644 (file)
@@ -11,10 +11,10 @@ sequences.private sets sorting sorting.extras ;
 
 IN: math.extras
 
-<PRIVATE
-
 DEFER: stirling
 
+<PRIVATE
+
 : (stirling) ( n k -- x )
     [ [ 1 - ] bi@ stirling ]
     [ [ 1 - ] dip stirling ]