Troubleshooting info extended.
This commit is contained in:
1 parent
c27673ed38
commit
210c049d11
1 file changed
+1
-1
@@ -257,7 +257,7 @@ public class Pow2MontgomeryModCycleComputationBenchmarks
|
|||||||
|
|
||||||
_previousPrimeOrder = null;
|
_previousPrimeOrder = null;
|
||||||
|
|
||||||
Console.WriteLine("Heuristic failed, falling back to full cycle calculation");
|
Console.WriteLine($"Heuristic failed for {modulus}, falling back to full cycle calculation");
|
||||||
return fallbackOrder != 0UL ? fallbackOrder : MersenneDivisorCycles.CalculateCycleLength(modulus);
|
return fallbackOrder != 0UL ? fallbackOrder : MersenneDivisorCycles.CalculateCycleLength(modulus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user