Skip to content

Conversation

@mcabbott
Copy link

This was supposed to fix #36. Although in the end @code_warntype fftshift(rand(ComplexF64,64,64)) shows no problems on the latest Julia (although it does print a bit less with this PR) and isn't fixed on Julia 1.0!

It also adds a method for copy(fftfreq(8)), this previously gave an Array, whereas now it behaves like copy(1:8). I think collect(1:8) or Array(1:8) are the ways to make an Array.

@stevengj stevengj merged commit 9372553 into JuliaMath:master May 14, 2020
@mcabbott mcabbott deleted the shift branch May 14, 2020 18:04
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

Successfully merging this pull request may close these issues.

Type instability in fftshift/ifftshift

2 participants