|
1 | 1 | function _precompile_()
|
2 | 2 | ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
|
3 | 3 | for n = 1:3, T in (Float32, Float64, ComplexF32, ComplexF64), D in (UnitRange{Int}, Vector{Int}, Int)
|
4 |
| - @assert precompile(Tuple{typeof(fft),Array{T,n},D}) |
5 |
| - @assert precompile(Tuple{typeof(rfft),Array{T,n},D}) |
6 |
| - @assert precompile(Tuple{typeof(ifft),Array{T,n},D}) |
7 |
| - @assert precompile(Tuple{typeof(irfft),Array{T,n},Int,D}) |
8 |
| - @assert precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int, Int},D}) |
9 |
| - @assert precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int},D}) |
10 |
| - @assert precompile(Tuple{typeof(rfft_output_size),Tuple{Int},D}) |
| 4 | + precompile(Tuple{typeof(fft),Array{T,n},D}) |
| 5 | + precompile(Tuple{typeof(rfft),Array{T,n},D}) |
| 6 | + precompile(Tuple{typeof(ifft),Array{T,n},D}) |
| 7 | + precompile(Tuple{typeof(irfft),Array{T,n},Int,D}) |
| 8 | + precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int, Int},D}) |
| 9 | + precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int},D}) |
| 10 | + precompile(Tuple{typeof(rfft_output_size),Tuple{Int},D}) |
11 | 11 | end
|
12 | 12 | end
|
0 commit comments