Skip to content

Commit

Permalink
chore: fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Kindi-0 committed Sep 3, 2024
1 parent ed781d8 commit 98c0e71
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default = ["std"]
std = ["core-utils/std", "hex/std", "rand-utils", "winterfell/std"]

[dependencies]
air = { version = "0.9", path = "../air", package = "winter-air", default-features = false }
blake3 = { version = "1.5", default-features = false }
core-utils = { version = "0.9", path = "../utils/core", package = "winter-utils", default-features = false }
hex = { version = "0.4", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion prover/src/logup_gkr/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn build_mls_from_main_trace_segment<E: FieldElement>(
let ml = MultiLinearPoly::from_evaluations(values);
mls.push(ml)
},
air::LogUpGkrOracle::PeriodicValue(values) => periodic_values.push(values.to_vec()),
LogUpGkrOracle::PeriodicValue(values) => periodic_values.push(values.to_vec()),
};
}
Ok((mls, PeriodicTable::new(periodic_values)))
Expand Down
3 changes: 0 additions & 3 deletions sumcheck/src/prover/high_degree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ pub fn sum_check_prove_higher_degree<
.for_each(|ml| ml.bind_least_significant_variable(round_challenge));
eq_nu.bind_least_significant_variable(round_challenge);

// fold each periodic multi-linear using the round challenge
periodic_table.bind_least_significant_variable(round_challenge);

let SumCheckRoundClaim { eval_point, claim: _claim } =
reduce_claim(&round_proofs[num_rounds - 1], current_round_claim, round_challenge);

Expand Down
4 changes: 2 additions & 2 deletions winterfell/src/tests/logup_gkr_simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{

#[test]
fn test_logup_gkr() {
let aux_trace_width = 2;
let aux_trace_width = 1;
let trace = LogUpGkrSimple::new(2_usize.pow(7), aux_trace_width);
let prover = LogUpGkrSimpleProver::new(aux_trace_width);

Expand Down Expand Up @@ -264,7 +264,7 @@ impl LogUpGkrSimpleProver {
fn new(aux_trace_width: usize) -> Self {
Self {
aux_trace_width,
options: ProofOptions::new(1, 8, 0, FieldExtension::None, 2, 1),
options: ProofOptions::new(1, 8, 0, FieldExtension::Quadratic, 2, 1),
}
}
}
Expand Down

0 comments on commit 98c0e71

Please sign in to comment.