JuliaMath / JuliaMath/FFTA.jl

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

Open
#66 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
74
Forks
8
Avg merge
13h 43m
Merged PRs (30d)
1

Description

If I run

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

I get

```julia
FFTA.FFTAPlan_cx{ComplexF64, 1}
```

but if I run

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

I get

```julia
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)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.