Skip to content

Conversation

leonardoalt
Copy link
Member

@leonardoalt leonardoalt commented Jun 2, 2025

Not sure this is the best fix but it's the easiest without deeper changes.


// open every quotient chunk at zeta
let num_chunks = quotient_degrees.iter().sum::<u8>() as usize;
let num_chunks = quotient_degrees.iter().map(|x| *x as u32).sum::<u32>() as usize;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we may have lots of autoprecompiles, the sum of their max degrees may overflow u8

Copy link

@Schaeff Schaeff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@leonardoalt leonardoalt merged commit dc01872 into main Jun 2, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants