Skip to content

Commit

Permalink
do not differentiate through the construction of BitArray
Browse files Browse the repository at this point in the history
  • Loading branch information
frankschae committed Aug 19, 2021
1 parent 555ac11 commit 8b0e08b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rulesets/Base/nondiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
@non_differentiable Vector(::AbstractArray{Bool})

@non_differentiable Array(::AbstractArray{Bool})
@non_differentiable BitArray(::Any)
@non_differentiable IndexStyle(::AbstractArray{Bool})

#####
Expand Down

0 comments on commit 8b0e08b

Please sign in to comment.