Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
saitima authored Apr 11, 2023
1 parent 3aa6226 commit bbac055
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/plonk/better_better_cs/cs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1863,8 +1863,6 @@ impl_assembly!{

assert!((self.n()+1).is_power_of_two());

println!("Padded circuit size is 2^{}", (self.n()+1).trailing_zeros());

self.is_finalized = true;
}

Expand All @@ -1890,7 +1888,8 @@ impl_assembly!{
let new_size = *new_size_candidates.iter().max().unwrap();
assert!(
new_size <= 1usize << E::Fr::S,
"Padded circuit size is {}, that is larget than number of roots of unity 2^{}. Padded from {} gates and {} lookup table accesses",
"
size is {}, that is larget than number of roots of unity 2^{}. Padded from {} gates and {} lookup table accesses",
new_size,
E::Fr::S,
self.n(),
Expand Down Expand Up @@ -1951,9 +1950,7 @@ impl_assembly!{
}

assert!((self.n()+1).is_power_of_two(), "padded circuit size is not power of two. self.n() = {}", self.n());

println!("Padded circuit size is 2^{}", (self.n()+1).trailing_zeros());


self.is_finalized = true;
}

Expand Down

0 comments on commit bbac055

Please sign in to comment.