Skip to content

Commit c21d550

Browse files
committed
make variable local
1 parent ab54bb4 commit c21d550

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/de/tilman_neumann/jml/factor/siqs/sieve

1 file changed

+1
-2
lines changed

src/main/java/de/tilman_neumann/jml/factor/siqs/sieve/Sieve03h.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public class Sieve03h implements Sieve {
113113

114114
// sieve
115115
private int sieveArraySize;
116-
private int sieveAllocationSize;
117116
/** the initalizer value */
118117
private byte initializerValue;
119118
/** basic building block for fast initialization of sieve array */
@@ -169,7 +168,7 @@ public void initializeForN(SieveParams sieveParams, BaseArrays baseArrays, int m
169168
// For primes p[i], i<p1Index, we need p[i]+sieveArraySize = 2*sieveArraySize entries.
170169
this.sieveArraySize = sieveParams.sieveArraySize;
171170
int pMax = sieveParams.pMax;
172-
sieveAllocationSize = Math.max(pMax+1, 2*sieveArraySize);
171+
int sieveAllocationSize = Math.max(pMax+1, 2*sieveArraySize);
173172
sieveArray = new byte[sieveAllocationSize];
174173
sieveBuffer = ByteBuffer.wrap(sieveArray).order(ByteOrder.LITTLE_ENDIAN);
175174

0 commit comments

Comments
 (0)