Skip to content

Commit

Permalink
chore: update comment on MAX_LOG_WIDTH (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-sun authored Jan 27, 2025
1 parent ea309d7 commit 336f1a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/native/recursion/src/fri/two_adic_pcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ fn compute_round_alpha_pows<C: Config>(
if builder.flags.static_only {
return builder.array(0);
}
// Max log of matrix width
// This maximum is safe because the log width of any matrix in an AIR must fit
// within a single field element.
const MAX_LOG_WIDTH: usize = 31;
let pow_of_alpha: Array<C, Ext<_, _>> = builder.array(MAX_LOG_WIDTH);
let current: Ext<_, _> = builder.eval(alpha);
Expand Down

0 comments on commit 336f1a4

Please sign in to comment.