Skip to content
New issue

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

Type instability fftshift #99

Open
oscarvanderheide opened this issue Jun 24, 2019 · 0 comments
Open

Type instability fftshift #99

oscarvanderheide opened this issue Jun 24, 2019 · 0 comments

Comments

@oscarvanderheide
Copy link

It appears that fftshift and ifftshift are type unstable:

julia> @code_warntype fftshift(rand(ComplexF64,64,64))
Body::Any
...
55 ─ %140 = invoke AbstractFFTs.circshift(_2::Array{Complex{Float64},2}, %30::Array{Int64,1})::Any
└───        return %140

Or am I doing something wrong?

I'm running Julia v1.1.0 with FFTW v0.2.4.

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

No branches or pull requests

1 participant