Skip to content

Commit b3a3bf8

Browse files
authored
Merge pull request #68 from RyanGlScott/T67
Remove unused `enabled_count` variable
2 parents 126147f + 7d246bd commit b3a3bf8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/upolynomial/factorization.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,12 +1266,10 @@ void factorization_recombination(const lp_upolynomial_t* f, const lp_upolynomial
12661266
const int size = factors_p->size;
12671267

12681268
// Factors we are still considering (initially all with degree <= max_degree)
1269-
int enabled_count = 0;
12701269
int enabled[size+1];
12711270
for (k = 0; k < size; ++ k) {
12721271
if (lp_upolynomial_degree(factors_p->factors[k]) <= max_degree) {
12731272
enabled[k] = 1;
1274-
enabled_count ++;
12751273
} else {
12761274
enabled[k] = 0;
12771275
}

0 commit comments

Comments
 (0)