Skip to content

Commit

Permalink
Squash commits
Browse files Browse the repository at this point in the history
  • Loading branch information
SomTambe committed Jul 27, 2021
1 parent 1d711f5 commit 5465957
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- name: "Compat fix for Julia < v1.3.0"
if: ${{ matrix.julia-version == '1.0' }}
run: |
using Pkg
Pkg.add([
PackageSpec(name="AbstractFFTs", version="1.0"),
])
shell: julia --project=. --startup=no --color=yes {0}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand Down
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version = "0.13.3"
[deps]
AxisAlgorithms = "13072b0f-2c55-5437-9ae7-d433b7a33950"
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand All @@ -26,6 +27,7 @@ WoodburyMatrices = "0.4, 0.5"
julia = "1"

[extras]
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
DualNumbers = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -37,4 +39,4 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["OffsetArrays", "Unitful", "SharedArrays", "ForwardDiff", "LinearAlgebra", "DualNumbers", "Random", "Test", "Zygote"]
test = ["OffsetArrays", "Unitful", "SharedArrays", "ForwardDiff", "LinearAlgebra", "DualNumbers", "Random", "Test", "Zygote", "ImageCore"]
2 changes: 1 addition & 1 deletion src/extrapolation/filled.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end

@inline function Interpolations.gradient(etp::FilledExtrapolation{T, N, ITP}, x::Vararg{Number, N}) where {T,N,ITP}
itp = parent(etp)
check_type() = Base._return_type(gradient, Tuple{typeof(itp), map(typeof, x)...})
check_type() = Base._return_type(gradient, Tuple{ITP, map(typeof, x)...})
if checkbounds(Bool, itp, x...)
gradient(itp, x...)
else
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if !isdefined(Main, :InterpolationTestUtils)
@eval using Main.InterpolationTestUtils
end

using Test, SharedArrays, Random
using Test, SharedArrays, Random, ImageCore
using StaticArrays, WoodburyMatrices
ambs = detect_ambiguities(StaticArrays, WoodburyMatrices, Base, Core)

Expand Down

0 comments on commit 5465957

Please sign in to comment.