Skip to content

Commit

Permalink
random.lagged-fibonacci: more consistent stack effect
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jul 7, 2024
1 parent aab90f2 commit 3294383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/random/lagged-fibonacci/lagged-fibonacci.factor
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ M:: lagged-fibonacci seed-random ( lagged-fibonacci seed! -- lagged-fibonacci )
p-r 1 + double <c-array> >>u
swap seed-random ; inline

GENERIC: random-float* ( tuple -- r )
GENERIC: random-float* ( rnd -- n )

: random-float ( -- n ) random-generator get random-float* ; inline

Expand Down

0 comments on commit 3294383

Please sign in to comment.