Accept heuristic prime order results

This commit is contained in:
Marek Lemańczyk committed 2025-10-03 23:36:15 +02:00
1 parent 4cb88ee08b
commit 2d1b6813d1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -807,7 +807,7 @@ public class MersenneDivisorCycles
divisor,
previousOrder: null,
PrimeOrderCalculator.PrimeOrderSearchConfig.HeuristicDefault);
if (orderResult.Status == PrimeOrderCalculator.PrimeOrderStatus.Found && orderResult.Order != 0UL)
if (orderResult.Order != 0UL)
{
return orderResult.Order;
}