From 5aed44d09ddd9163bbc62aa8a2111216f427ff3c Mon Sep 17 00:00:00 2001 From: Kevin Jue Date: Wed, 7 Feb 2024 17:44:41 -0800 Subject: [PATCH] changes for 1.69 --- fri/src/two_adic_pcs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fri/src/two_adic_pcs.rs b/fri/src/two_adic_pcs.rs index fbbb606e..6e8a8b91 100644 --- a/fri/src/two_adic_pcs.rs +++ b/fri/src/two_adic_pcs.rs @@ -452,7 +452,7 @@ impl> PowersReducer { fn new(base: EF, max_width: usize) -> Self { let powers: Vec = base .powers() - .take(max_width.next_multiple_of(F::Packing::WIDTH)) + .take(max_width + (max_width % F::Packing::WIDTH)) .collect(); let transposed_packed: Vec> = transpose_vec(