Skip to content

bug: fft #522

@ThomasPiellard

Description

@ThomasPiellard

Description

This sample causes a panic:

a := make([]fr.Element, 4)
f := fft.NewDomain(4, fft.WithoutPrecompute())
f.FFTInverse(a, fft.DIF)

Possible Fix

twiddlesInv = make([][]fr.Element, nbStages-twiddlesStartStage) -> nbStages=2, twiddlesStartStage=3 here, the indices should be adjusted

Your Environment

  • gnark-crypto version used: 0.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions