Skip to content

Commit

Permalink
removing panic
Browse files Browse the repository at this point in the history
  • Loading branch information
arijitdutta67 committed Jan 29, 2025
1 parent e83b8d7 commit 96f3a8c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions prover/protocol/wizard/compiled.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ func (c *CompiledIOP) InsertCommit(round int, name ifaces.ColID, size int) iface
// - if the size of the column is not a power of 2
// - if a column using the same name has already been registered
func (c *CompiledIOP) InsertColumn(round int, name ifaces.ColID, size int, status column.Status) ifaces.Column {
// Panic if the size is not a power of 2
if !utils.IsPowerOfTwo(size) {
utils.Panic("Registering column %v with a non power of two size = %v", name, size)
}
// @alex: this has actually caught a few typos. When wrongly setting an
// incorrect but very large size here, it will generate a disproportionate
// wizard
Expand Down

0 comments on commit 96f3a8c

Please sign in to comment.