From cdf33c45ee686b747bf1cdffe7f536f47658abec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Awirski?= Date: Sat, 23 Nov 2024 19:56:54 +0100 Subject: [PATCH] remove unnecessary changes --- prover/src/constraints/composition_poly.rs | 2 +- prover/src/matrix/col_matrix.rs | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/prover/src/constraints/composition_poly.rs b/prover/src/constraints/composition_poly.rs index 444585a68..bad52f7f5 100644 --- a/prover/src/constraints/composition_poly.rs +++ b/prover/src/constraints/composition_poly.rs @@ -48,7 +48,7 @@ impl CompositionPolyTrace { /// For example, if the composition polynomial has degree 2N - 1, where N is the trace length, /// it will be stored as two columns of size N (each of degree N - 1). pub struct CompositionPoly { - pub data: ColMatrix, + data: ColMatrix, } impl CompositionPoly { diff --git a/prover/src/matrix/col_matrix.rs b/prover/src/matrix/col_matrix.rs index 3f3372a58..8872cca71 100644 --- a/prover/src/matrix/col_matrix.rs +++ b/prover/src/matrix/col_matrix.rs @@ -217,19 +217,6 @@ impl ColMatrix { self } - pub fn evaluate_columns(&self) -> Self { - let twiddles = fft::get_twiddles::(self.num_rows()); - let columns = iter!(self.columns) - .map(|coeffs: &Vec| { - let mut column = coeffs.clone(); - fft::evaluate_poly(&mut column, &twiddles); - column - }) - .collect(); - Self { columns } - } - - /// Evaluates polynomials contained in the columns of this matrix over the specified domain /// and returns the result. ///