Skip to content

Commit

Permalink
remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gswirski committed Nov 23, 2024
1 parent fd908d1 commit cdf33c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion prover/src/constraints/composition_poly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl<E: FieldElement> CompositionPolyTrace<E> {
/// 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<E: FieldElement> {
pub data: ColMatrix<E>,
data: ColMatrix<E>,
}

impl<E: FieldElement> CompositionPoly<E> {
Expand Down
13 changes: 0 additions & 13 deletions prover/src/matrix/col_matrix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,19 +217,6 @@ impl<E: FieldElement> ColMatrix<E> {
self
}

pub fn evaluate_columns(&self) -> Self {
let twiddles = fft::get_twiddles::<E::BaseField>(self.num_rows());
let columns = iter!(self.columns)
.map(|coeffs: &Vec<E>| {
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.
///
Expand Down

0 comments on commit cdf33c4

Please sign in to comment.