Skip to content

Commit

Permalink
fix compilation p3 (#1876)
Browse files Browse the repository at this point in the history
p3 compilation started failing recently, this hopefully fixes it

---------

Co-authored-by: Leo Alt <[email protected]>
  • Loading branch information
leonardoalt and Leo Alt authored Oct 6, 2024
1 parent ecabf14 commit e9fc9d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plonky3/src/params/baby_bear.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type ValMmcs = MerkleTreeMmcs<
>;

type ChallengeMmcs = ExtensionMmcs<BabyBear, FriChallenge, ValMmcs>;
type Dft = Radix2DitParallel;
type Dft = Radix2DitParallel<BabyBear>;
type MyPcs = TwoAdicFriPcs<BabyBear, Dft, ValMmcs, ChallengeMmcs>;

const FRI_LOG_BLOWUP: usize = 1;
Expand Down Expand Up @@ -97,7 +97,7 @@ impl FieldElementMap for BabyBearField {

let challenge_mmcs = ChallengeMmcs::new(val_mmcs.clone());

let dft = Dft {};
let dft = Dft::default();

let fri_config = FriConfig {
log_blowup: FRI_LOG_BLOWUP,
Expand Down
4 changes: 2 additions & 2 deletions plonky3/src/params/goldilocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type ValMmcs = MerkleTreeMmcs<

pub type FriChallenger = DuplexChallenger<Goldilocks, Perm, WIDTH, RATE>;
type ChallengeMmcs = ExtensionMmcs<Goldilocks, FriChallenge, ValMmcs>;
type Dft = Radix2DitParallel;
type Dft = Radix2DitParallel<Goldilocks>;
type MyPcs = TwoAdicFriPcs<Goldilocks, Dft, ValMmcs, ChallengeMmcs>;

const HALF_NUM_FULL_ROUNDS: usize = 4;
Expand Down Expand Up @@ -93,7 +93,7 @@ impl FieldElementMap for GoldilocksField {

let challenge_mmcs = ChallengeMmcs::new(val_mmcs.clone());

let dft = Dft {};
let dft = Dft::default();

let fri_config = FriConfig {
log_blowup: FRI_LOG_BLOWUP,
Expand Down

0 comments on commit e9fc9d5

Please sign in to comment.