Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sshivaditya committed Dec 2, 2024
1 parent 994ebf9 commit be71efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zk/wiring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl ModelCircuitBuilder {
};

// Calculate number of chunks and required zk_rows
let num_chunks = (domain_size + MIN_DOMAIN_SIZE - 1) / MIN_DOMAIN_SIZE;
let num_chunks = domain_size.div_ceil(MIN_DOMAIN_SIZE);
let min_zk_rows = Self::zk_rows_strict_lower_bound(num_chunks) + 1;
let zk_rows = std::cmp::max(min_zk_rows, (16 * num_chunks + 5) / 7);

Expand Down

0 comments on commit be71efc

Please sign in to comment.