Skip to content

Commit

Permalink
Keep ∇getindex function stub to avoid downstream breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
ToucheSir authored Oct 6, 2023
1 parent e1b5e0c commit 12bdca9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ macro nograd(ex)
end
return blk
end

# Internal function used by some downstream packages.
# Removing this completely would require some tricky registry changes,
# but leaving it as a vestigial function is much easier.
# See https://github.com/FluxML/Zygote.jl/pull/1328 for more context.
function ∇getindex end

0 comments on commit 12bdca9

Please sign in to comment.