Skip to content

Commit

Permalink
Drop deprecated getindex for non-integers
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Jan 29, 2024
1 parent ef7f68e commit 5a33260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Interpolations"
uuid = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
version = "0.15.1"
version = "0.16.0"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
4 changes: 1 addition & 3 deletions src/deprecations.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# deprecate getindex for non-integer numeric indices
@deprecate getindex(itp::AbstractInterpolation{T,N}, i::Vararg{Number,N}) where {T,N} itp(i...)
@deprecate getindex(itp::AbstractInterpolation{T,N}, i::Vararg{ExpandedIndexTypes,N}) where {T,N} itp(i...)
# Removed with 0.16, indexing via non-integers

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

0 comments on commit 5a33260

Please sign in to comment.