Revert "Merge pull request #38 from mlemanczyk/codex/fix-residue-method-iteration-issue"

This reverts commit afcc8d87f9, reversing
changes made to 5702e45169.
This commit is contained in:
Marek Lemańczyk committed 2025-09-20 09:39:53 +02:00
1 parent cc1967231c
commit a9e4dc98c4
2 files changed
-83

No files matched your search

-6
View File
@@ -554,12 +554,6 @@ internal static class Program
}
bool useFilter = !string.IsNullOrEmpty(filterFile);
if (useFilter && !useBitTransform)
{
// When replaying a filtered list of p values, iterate strictly along the prime sequence.
// This keeps candidate generation aligned with the recorded primes regardless of residue stepping.
_transformP = &TransformPAddPrimes;
}
HashSet<ulong> filter = [];
ulong maxP = 0UL;
if (useFilter)