Skip to content

Commit

Permalink
doc: add comments about unit of measure of partition size
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Oct 30, 2024
1 parent 7f24139 commit 942c752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions air/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ impl PartitionOptions {

/// Returns the size of each partition used when committing to the main and auxiliary traces as
/// well as the constraint evaluation trace.
/// The returned size is given in terms of number of columns in the field `E`.
pub fn partition_size<E: FieldElement>(&self, num_columns: usize) -> usize {
if self.num_partitions == 1 && self.min_partition_size == 1 {
return num_columns;
Expand Down

0 comments on commit 942c752

Please sign in to comment.