Skip to content

Commit 21b5f1c

Browse files
author
andrewrosemberg
committed
Add rule insorted
1 parent 781f1fb commit 21b5f1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rulesets/Base/nondiff.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
@non_differentiable getindex(::AbstractArray{Bool}, ::Any...)
4242
@non_differentiable hcat(::AbstractArray{Bool}...)
4343
@non_differentiable hvcat(::Any, ::AbstractArray{Bool}...)
44+
@non_differentiable insorted(::Any, ::AbstractVector)
45+
@non_differentiable insorted(::Any, ::AbstractRange)
4446
@non_differentiable isperm(::AbstractArray{Bool})
4547
@non_differentiable invperm(::AbstractArray{Bool})
4648
@non_differentiable invpermute!(::Any, ::AbstractArray{Bool})

0 commit comments

Comments
 (0)