Skip to content

Commit

Permalink
Explicitly mark a global variable ocurring in a let block as `local…
Browse files Browse the repository at this point in the history
…` there
  • Loading branch information
martinholters committed Apr 23, 2018
1 parent 540394d commit fc3f313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Expand Up @@ -488,7 +488,7 @@ end # fftw_vendor() != :mkl

# test UNALIGNED flag
let A = rand(Float32, 35), Ac = rand(Complex{Float32}, 35)
Y = Array{Complex{Float32}}(undef, 20)
local Y = Array{Complex{Float32}}(undef, 20)
Yc = Array{Complex{Float32}}(undef, 35)
planr = plan_rfft(Array{Float32}(undef, 32), flags=FFTW.UNALIGNED)
planc = plan_fft(Array{Complex{Float32}}(undef, 32), flags=FFTW.UNALIGNED)
Expand Down

0 comments on commit fc3f313

Please sign in to comment.