We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This sample causes a panic:
a := make([]fr.Element, 4) f := fft.NewDomain(4, fft.WithoutPrecompute()) f.FFTInverse(a, fft.DIF)
twiddlesInv = make([][]fr.Element, nbStages-twiddlesStartStage) -> nbStages=2, twiddlesStartStage=3 here, the indices should be adjusted
twiddlesInv = make([][]fr.Element, nbStages-twiddlesStartStage)
The text was updated successfully, but these errors were encountered:
fix: fixes #522 with bound check before computing twiddles when domai…
497cf56
…n has no precompute set
20fab15
Successfully merging a pull request may close this issue.
Description
This sample causes a panic:
Possible Fix
twiddlesInv = make([][]fr.Element, nbStages-twiddlesStartStage)
-> nbStages=2, twiddlesStartStage=3 here, the indices should be adjustedYour Environment
The text was updated successfully, but these errors were encountered: