Add support for processing result files from the divisor method

This commit is contained in:
Marek Lemańczyk committed 2025-09-13 09:04:54 +02:00
1 parent ab9bc30a64
commit 6031454812
1 file changed
+4 -1
+4 -1
View File
@@ -529,12 +529,15 @@ internal static class Program
Console.WriteLine("Loading filter...");
LoadResultsFile(filterFile, (p, detailedCheck, isPerfect) =>
{
if (detailedCheck && isPerfect)
if (isPerfect)
{
Console.WriteLine($"Adding {p}");
filter.Add(p);
}
});
// Restore this if you want to use List<ulong> instead of HashSet<ulong>
// filter.Sort();
}
if (_primeCount >= 2)