Skip to content

Commit 641db27

Browse files
author
Kristoffer Carlsson
authored
remove asserts from precompile (#214)
1 parent 5839faf commit 641db27

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/precompile.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
function _precompile_()
22
ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
33
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})
1111
end
1212
end

0 commit comments

Comments
 (0)