Skip to content

Commit

Permalink
Merge pull request powdr-labs#748 from powdr-labs/fix-degree-cli
Browse files Browse the repository at this point in the history
Fix degree passing in CLI
  • Loading branch information
Leo authored Nov 6, 2023
2 parents 86cd4b6 + e837eb7 commit b465f80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions powdr_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ fn read_and_prove<T: FieldElement>(
let mut file = fs::File::open(dir.join(filename)).unwrap();
builder.create_from_setup(&mut file).unwrap()
} else {
let degree = usize::BITS - fixed.1.leading_zeros() + 1;
builder.create(degree as u64)
builder.create(fixed.1)
};

let proof = proof_path.map(|filename| {
Expand Down

0 comments on commit b465f80

Please sign in to comment.