Fix to update pending list entry with the updated one, after PartialFactorPendingEntry was converted back to struct.
This commit is contained in:
1 parent
9147124ddf
commit
48df3df290
1 file changed
+1
@@ -1344,6 +1344,7 @@ internal static partial class PrimeOrderCalculator
|
|||||||
isPrime = PrimeTesterByLastDigit.IsPrimeCpu(value);
|
isPrime = PrimeTesterByLastDigit.IsPrimeCpu(value);
|
||||||
|
|
||||||
entry.WithPrimality(isPrime);
|
entry.WithPrimality(isPrime);
|
||||||
|
pending[index] = entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.IsPrime)
|
if (entry.IsPrime)
|
||||||
|
|||||||
Reference in new issue
Block a user