We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f3bcaf commit 263d212Copy full SHA for 263d212
src/main/java/de/tilman_neumann/jml/factor/pollardRho/PollardRhoTwoLoops.java
@@ -49,14 +49,13 @@ public BigInteger findSingleFactor(BigInteger N) {
49
// get random x0 from [0, N-1]
50
BigInteger x = new BigInteger(bitLength, RNG);
51
if (x.compareTo(N)>=0) x=x.subtract(N);
52
- BigInteger xx;
53
54
do {
55
// get random c from [0, N-1]
56
BigInteger c = new BigInteger(bitLength, RNG);
57
if (c.compareTo(N)>=0) c=c.subtract(N);
58
59
- xx = x;
+ BigInteger xx = x;
60
BigInteger xs;
61
BigInteger xxs;
62
BigInteger prod = I_1;
0 commit comments