Skip to content

FFTA.plan_fft returns an FFTW plan if both FFTW and FFTA are used #66

@jtravs

Description

@jtravs

If I run

using FFTA
a = rand(ComplexF64, 128)
p = FFTA.plan_fft(a)
typeof(p)

I get

FFTA.FFTAPlan_cx{ComplexF64, 1}

but if I run

using FFTA, FFTW
a = rand(ComplexF64, 128)
p = FFTA.plan_fft(a)
typeof(p)

I get

FFTW.cFFTWPlan{ComplexF64, -1, false, 1, Tuple{Int64}}

This causes subtle bugs in my code, and presumably is not what is intended? Is this a misunderstanding on my part (on how Julia works) or can this be fixed somehow (in either FFTA, FFTW or AbstractFFTs)?

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