Skip to content

Commit

Permalink
Eliminate asserts in precompile (OptimizeMeFixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jul 23, 2021
1 parent df8a8a6 commit f4fd821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/OptimizeMeFixed.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ function main()
end

if Base.VERSION >= v"1.4.2"
@assert precompile(Tuple{typeof(main)}) # time: 0.4204474
@assert precompile(Tuple{typeof(warmup)})
precompile(Tuple{typeof(main)}) # time: 0.4204474
precompile(Tuple{typeof(warmup)})
end

end

0 comments on commit f4fd821

Please sign in to comment.