From 299000e12940886312f6936dc77754ee3f05e0b5 Mon Sep 17 00:00:00 2001 From: Al-Kindi-0 <82364884+Al-Kindi-0@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:28:03 +0200 Subject: [PATCH] doc: fix typos --- processor/src/range/aux_trace.rs | 10 +++++----- processor/src/range/mod.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/processor/src/range/aux_trace.rs b/processor/src/range/aux_trace.rs index a0d9c258bd..c16b1bcaad 100644 --- a/processor/src/range/aux_trace.rs +++ b/processor/src/range/aux_trace.rs @@ -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>( @@ -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>( &self, main_trace: &ColMatrix, @@ -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>( diff --git a/processor/src/range/mod.rs b/processor/src/range/mod.rs index b22b2169a8..e1d12fe436 100644 --- a/processor/src/range/mod.rs +++ b/processor/src/range/mod.rs @@ -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