From 641db27cd2236b1c9c3fc5ad4943d7a55ead9fba Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Mon, 13 Sep 2021 14:13:04 +0200 Subject: [PATCH] remove asserts from precompile (#214) --- src/precompile.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/precompile.jl b/src/precompile.jl index ae70f51..6231d22 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -1,12 +1,12 @@ function _precompile_() ccall(:jl_generating_output, Cint, ()) == 1 || return nothing for n = 1:3, T in (Float32, Float64, ComplexF32, ComplexF64), D in (UnitRange{Int}, Vector{Int}, Int) - @assert precompile(Tuple{typeof(fft),Array{T,n},D}) - @assert precompile(Tuple{typeof(rfft),Array{T,n},D}) - @assert precompile(Tuple{typeof(ifft),Array{T,n},D}) - @assert precompile(Tuple{typeof(irfft),Array{T,n},Int,D}) - @assert precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int, Int},D}) - @assert precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int},D}) - @assert precompile(Tuple{typeof(rfft_output_size),Tuple{Int},D}) + precompile(Tuple{typeof(fft),Array{T,n},D}) + precompile(Tuple{typeof(rfft),Array{T,n},D}) + precompile(Tuple{typeof(ifft),Array{T,n},D}) + precompile(Tuple{typeof(irfft),Array{T,n},Int,D}) + precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int, Int},D}) + precompile(Tuple{typeof(rfft_output_size),Tuple{Int, Int},D}) + precompile(Tuple{typeof(rfft_output_size),Tuple{Int},D}) end end