Skip to content

Commit 781f1fb

Browse files
author
andrewrosemberg
committed
Add partialsortperm! rrule
1 parent 163bb6e commit 781f1fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rulesets/Base/nondiff.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ VERSION >= v"1.4" && @non_differentiable only(::Char)
290290
@non_differentiable open(::Any)
291291

292292
@non_differentiable partialsortperm(::AbstractVector{Any}, ::Union{Integer, OrdinalRange})
293+
@non_differentiable partialsortperm!(::AbstractVector{<:Integer}, ::AbstractVector{Any}, ::Union{Integer, OrdinalRange})
293294
@non_differentiable pointer(::Any)
294295
@non_differentiable popdisplay(::AbstractDisplay)
295296
@non_differentiable position(::Base.Filesystem.File)
@@ -354,7 +355,7 @@ end
354355
@non_differentiable sort(::AbstractVector)
355356
@non_differentiable sort!(::AbstractVector)
356357
@non_differentiable sortperm(::AbstractVector{Any})
357-
@non_differentiable sortperm!(AbstractVector{<:Integer}, ::AbstractVector)
358+
@non_differentiable sortperm!(::AbstractVector{<:Integer}, ::AbstractVector)
358359
@non_differentiable split(::AbstractString)
359360
@non_differentiable split(::AbstractString, ::AbstractChar)
360361
@non_differentiable splitdir(::AbstractString)

0 commit comments

Comments
 (0)