Skip to content

Commit

Permalink
doc: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Oct 20, 2023
1 parent 8f5c793 commit 299000e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions processor/src/range/aux_trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ impl AuxTraceBuilder {
// AUX COLUMN BUILDERS
// --------------------------------------------------------------------------------------------

/// Builds and returns range checker auxiliary trace columns. Currently this consists of two
/// columns:
/// Builds and returns range checker auxiliary trace columns. Currently this consists of one
/// column:
/// - `b_range`: ensures that the range checks performed by the Range Checker match those
/// requested by the Stack and Memory processors.
pub fn build_aux_columns<E: FieldElement<BaseField = Felt>>(
Expand All @@ -49,8 +49,8 @@ impl AuxTraceBuilder {
vec![b_range]
}

/// Builds the execution trace of the range check `b_range` and `q` columns which ensure that the
/// range check lookups performed by user operations match those executed by the Range Checker.
/// Builds the execution trace of the range check `b_range` column which ensure that the range
/// check lookups performed by user operations match those executed by the Range Checker.
fn build_aux_col_b_range<E: FieldElement<BaseField = Felt>>(
&self,
main_trace: &ColMatrix<Felt>,
Expand Down Expand Up @@ -138,7 +138,7 @@ impl AuxTraceBuilder {
}
}

/// Runs batch inversion on all range check lookup values and returns a map which maps of each value
/// Runs batch inversion on all range check lookup values and returns a map which maps each value
/// to the divisor used for including it in the LogUp lookup. In other words, the map contains
/// mappings of x to 1/(alpha - x).
fn get_divisors<E: FieldElement<BaseField = Felt>>(
Expand Down
2 changes: 1 addition & 1 deletion processor/src/range/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl RangeChecker {
/// Converts this [RangeChecker] into an execution trace with 2 columns and the number of rows
/// specified by the `target_len` parameter.
///
/// If the number of rows need to represent execution trace of this range checker is smaller
/// If the number of rows needed to represent execution trace of this range checker is smaller
/// than `target_len` parameter, the trace is padded with extra rows.
///
/// `num_rand_rows` indicates the number of rows at the end of the trace which will be
Expand Down

0 comments on commit 299000e

Please sign in to comment.