From 5062029d3f7c18804b21bffd33e2ded8e3993815 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Wed, 21 Jul 2021 09:32:18 -0700 Subject: [PATCH] fixes --- src/field/extension_field/quartic.rs | 2 +- src/fri/mod.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/field/extension_field/quartic.rs b/src/field/extension_field/quartic.rs index 16a11b52..7539b272 100644 --- a/src/field/extension_field/quartic.rs +++ b/src/field/extension_field/quartic.rs @@ -77,7 +77,7 @@ impl Field for QuarticCrandallField { const CHARACTERISTIC: u64 = CrandallField::CHARACTERISTIC; // Does not fit in 64-bits. - const ORDER: BigUint = CrandallField::ORDER.pow(4); + const ORDER: BigUint = CrandallField::ORDER.pow(4u32); const TWO_ADICITY: usize = 30; const MULTIPLICATIVE_GROUP_GENERATOR: Self = Self([ CrandallField(12476589904174392631), diff --git a/src/fri/mod.rs b/src/fri/mod.rs index 87fe3db5..ab7137c2 100644 --- a/src/fri/mod.rs +++ b/src/fri/mod.rs @@ -10,8 +10,6 @@ const EPSILON: f64 = 0.01; pub struct FriConfig { pub proof_of_work_bits: u32, - pub rate_bits: usize, - /// The arity of each FRI reduction step, expressed (i.e. the log2 of the actual arity). /// For example, `[3, 2, 1]` would describe a FRI reduction tree with 8-to-1 reduction, then /// a 4-to-1 reduction, then a 2-to-1 reduction. After these reductions, the reduced polynomial