diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 128f8914..0bbabccf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: run: | using Pkg Pkg.instantiate(verbose = true) - Pkg.precompile(strict = true) + Pkg.precompile(strict = false) - uses: julia-actions/julia-runtest@v1 diff --git a/test/reductions.jl b/test/reductions.jl index 8fcd4199..8d05e5a8 100644 --- a/test/reductions.jl +++ b/test/reductions.jl @@ -1,7 +1,6 @@ using MPI using PencilArrays using Test -using Compat: Splat MPI.Init() @@ -30,7 +29,7 @@ fill!(u, 2myid) a = @inferred sum(abs2, û; init = zero(eltype(û))) # `init` needed for inference when eltype(û) = Complex{Int32}... # These should all be equivalent: b = @inferred mapreduce((x, y) -> real(x * conj(y)), +, û, v̂) - c = @inferred sum(Splat((x, y) -> real(x * conj(y))), zip(û, v̂)) + c = @inferred sum(Base.splat((x, y) -> real(x * conj(y))), zip(û, v̂)) d = @inferred sum(xs -> real(xs[1] * conj(xs[2])), zip(û, v̂)) @test a == b == c == d end