Skip to content

Commit

Permalink
fix no-std
Browse files Browse the repository at this point in the history
  • Loading branch information
ColoCarletti committed Oct 24, 2024
1 parent f3028e5 commit b645a7b
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/cosets.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
extern crate alloc;
use crate::circle::point::CirclePoint;
use crate::field::fields::mersenne31::field::Mersenne31Field;
use alloc::vec::Vec;

/// Given g_n, a generator of the subgroup <g_n> of the circle of size n,
/// and given a shift, that is a another point of the cirvle,
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 crate::{
fft::cpu::bit_reversing::in_place_bit_reverse_permute,
field::{element::FieldElement, fields::mersenne31::field::Mersenne31Field},
};
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::Vec;

#[derive(PartialEq)]
pub enum TwiddlesConfig {
Expand Down

0 comments on commit b645a7b

Please sign in to comment.