Skip to content

Commit c09ed3e

Browse files
committed
fix comments
1 parent fc89a43 commit c09ed3e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

circuit-prover/src/air/add_air.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,6 @@ impl<F: Field + PrimeCharacteristicRing, const D: usize> AddAir<F, D> {
124124
}
125125

126126
/// Total number of columns in the main trace for this AIR instance.
127-
///
128-
/// This is computed as
129-
///
130-
/// ```text
131-
/// total_width = lanes x LANE_WIDTH.
132-
/// ```
133-
///
134-
/// Every row of the trace matrix must have exactly this width.
135127
pub const fn total_width(&self) -> usize {
136128
self.lanes * Self::lane_width()
137129
}
@@ -278,9 +270,8 @@ where
278270
// Make sure that the matrix width matches what this AIR expects.
279271
debug_assert_eq!(main.width(), self.total_width(), "column width mismatch");
280272

281-
// Read the current row at offset 0 relative to the evaluation point.
273+
// Get the evaluation at evaluation point `zeta`
282274
let local = main.row_slice(0).expect("matrix must be non-empty");
283-
// Each lane occupies this many base-field columns.
284275
let lane_width = Self::lane_width();
285276

286277
// Iterate over the row in fixed-size chunks, each chunk describing one lane:

0 commit comments

Comments
 (0)