Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole authored and Nicole committed Oct 23, 2024
1 parent 93fd515 commit 7ae4990
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/src/circle/cfft.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extern crate alloc;
use crate::field::{element::FieldElement, fields::mersenne31::field::Mersenne31Field};
use alloc::vec::Vec;

#[cfg(feature = "alloc")]
/// fft in place algorithm used to evaluate a polynomial of degree 2^n - 1 in 2^n points.
Expand Down
1 change: 1 addition & 0 deletions math/src/circle/polynomial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use super::{
cosets::Coset,
twiddles::{get_twiddles, TwiddlesConfig},
};
use alloc::vec::Vec;

/// Given the 2^n coefficients of a two-variables polynomial of degree 2^n - 1 in the basis {1, y, x, xy, 2xˆ2 -1, 2xˆ2y-y, 2xˆ3-x, 2xˆ3y-xy,...}
/// returns the evaluation of the polynomial on the points of the standard coset of size 2^n.
Expand Down
1 change: 1 addition & 0 deletions math/src/circle/twiddles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::{
circle::cosets::Coset,
field::{element::FieldElement, fields::mersenne31::field::Mersenne31Field},
};
use alloc::vec;
use alloc::vec::Vec;

#[derive(PartialEq)]
Expand Down

0 comments on commit 7ae4990

Please sign in to comment.