Skip to content

Commit ddc4677

Browse files
authored
Merge pull request #515 from mcabbott/fill_bang
Don't mark `fill!` non-differentiable
2 parents ca2b47b + f1041ec commit ddc4677

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRules"
22
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3-
version = "1.11.0"
3+
version = "1.11.1"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/rulesets/Base/nondiff.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
@non_differentiable eachcol(::AbstractArray{Bool})
4242
@non_differentiable eachrow(::AbstractArray{Bool})
4343
@non_differentiable eachslice(::AbstractArray{Bool})
44-
@non_differentiable fill(::AbstractArray{Bool})
45-
@non_differentiable fill!(::AbstractArray, ::Any)
44+
@non_differentiable fill(::Bool, ::Any...)
45+
@non_differentiable fill!(::AbstractArray{Bool}, ::Any)
4646
@non_differentiable findprev(::AbstractArray{Bool}, ::Any)
4747
@non_differentiable findprev(::Any, ::AbstractArray{Bool}, ::Any)
4848
@non_differentiable getindex(::AbstractArray{Bool}, ::Any...)

0 commit comments

Comments
 (0)