Fixed typeos

This commit is contained in:
2021-07-01 10:57:53 -04:00
parent 622cde6bfe
commit 87cb922084

View File

@@ -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