mirror of
https://bitbucket.org/Mattrixwv/pyclasses.git
synced 2026-02-03 19:52:27 -05:00
Fixed typeos
This commit is contained in:
@@ -43,7 +43,7 @@ def primeGenerator():
|
|||||||
dict[possiblePrime * possiblePrime] = [possiblePrime]
|
dict[possiblePrime * possiblePrime] = [possiblePrime]
|
||||||
#If possiblePrime is in the dictionary it is a composite number
|
#If possiblePrime is in the dictionary it is a composite number
|
||||||
else:
|
else:
|
||||||
#Move each witness to it's next multiple
|
#Move each witness to its next multiple
|
||||||
for num in dict[possiblePrime]:
|
for num in dict[possiblePrime]:
|
||||||
dict.setdefault(num + num + possiblePrime, []).append(num)
|
dict.setdefault(num + num + possiblePrime, []).append(num)
|
||||||
#We no longer need this, free the memory
|
#We no longer need this, free the memory
|
||||||
|
|||||||
Reference in New Issue
Block a user