Skip to content

Commit 336f1a4

Browse files
authored
chore: update comment on MAX_LOG_WIDTH (#1309)
1 parent ea309d7 commit 336f1a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/native/recursion/src/fri/two_adic_pcs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ fn compute_round_alpha_pows<C: Config>(
409409
if builder.flags.static_only {
410410
return builder.array(0);
411411
}
412-
// Max log of matrix width
412+
// This maximum is safe because the log width of any matrix in an AIR must fit
413+
// within a single field element.
413414
const MAX_LOG_WIDTH: usize = 31;
414415
let pow_of_alpha: Array<C, Ext<_, _>> = builder.array(MAX_LOG_WIDTH);
415416
let current: Ext<_, _> = builder.eval(alpha);

0 commit comments

Comments
 (0)