Skip to content

Commit 2c4b0f0

Browse files
Cut unused var.
1 parent c1512e2 commit 2c4b0f0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

FindAFactor/_find_a_factor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,6 @@ struct Factorizer {
10201020

10211021
// Produce a smooth number with its factorization vector.
10221022
BigInteger makeSmooth(BigInteger num) {
1023-
boost::dynamic_bitset<size_t> vec(smoothPrimes.size(), 0U);
10241023
BigInteger n = num;
10251024
while (true) {
10261025
// Proceed in steps of the GCD with the smooth prime wheel radius.
@@ -1037,7 +1036,6 @@ struct Factorizer {
10371036
continue;
10381037
}
10391038
factor /= p;
1040-
vec.flip(pi);
10411039
if (factor == 1U) {
10421040
// The step is fully factored.
10431041
break;

0 commit comments

Comments
 (0)