Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmon committed Oct 25, 2024
1 parent eb84583 commit 7ed026a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ AvmCircuitBuilder::ProverPolynomials AvmCircuitBuilder::compute_polynomials() co
col_size = num_rows;
} else {
// We process each column from bottom and stops as soon as we encounter a non-zero entry.
for (size_t j = 0; j < num_rows; j++) {
if (!rows[num_rows - j - 1].as_vector()[col_idx].is_zero()) {
col_size = num_rows - j;
for (size_t j = num_rows; j > 0; --j) {
if (!rows[j - 1].as_vector()[col_idx].is_zero()) {
col_size = j;
break;
}
}
Expand Down

0 comments on commit 7ed026a

Please sign in to comment.