Skip to content

Commit 39da5d6

Browse files
authored
Merge pull request #579 from mkitti/mkitti-getindex-integers-only
Allow integers only for getindex on AbstractInterpolation
2 parents c92d7e3 + 5a33260 commit 39da5d6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Interpolations"
22
uuid = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
3-
version = "0.15.1"
3+
version = "0.16.0"
44

55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/deprecations.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# deprecate getindex for non-integer numeric indices
2-
@deprecate getindex(itp::AbstractInterpolation{T,N}, i::Vararg{Number,N}) where {T,N} itp(i...)
3-
@deprecate getindex(itp::AbstractInterpolation{T,N}, i::Vararg{ExpandedIndexTypes,N}) where {T,N} itp(i...)
1+
# Removed with 0.16, indexing via non-integers
42

53
for T in (:Throw, :Flat, :Line, :Free, :Periodic, :Reflect, :InPlace, :InPlaceQ)
64
@eval begin

0 commit comments

Comments
 (0)