Skip to content

Commit

Permalink
Fixed a bug with aliquit_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ConceptJunkie committed Aug 13, 2020
1 parent 7d31eef commit e5c30c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpn/rpnNumberTheory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,6 @@ def getAliquotSequence( n, k ):
#
#******************************************************************************

@twoArgFunctionEvaluator( )
def getLimitedAliquotSequenceGenerator( n, k ):
'''
This generates aliquots until the usual termination conditions of
Expand All @@ -1436,6 +1435,7 @@ def getLimitedAliquotSequenceGenerator( n, k ):
results.append( a )


@twoArgFunctionEvaluator( )
def getLimitedAliquotSequence( n, k ):
return RPNGenerator.createGenerator( getLimitedAliquotSequenceGenerator, [ n, k ] )

Expand Down

0 comments on commit e5c30c7

Please sign in to comment.