Skip to content

Commit 8b0e08b

Browse files
committed
do not differentiate through the construction of BitArray
1 parent 555ac11 commit 8b0e08b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rulesets/Base/nondiff.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
@non_differentiable Vector(::AbstractArray{Bool})
8585

8686
@non_differentiable Array(::AbstractArray{Bool})
87+
@non_differentiable BitArray(::Any)
8788
@non_differentiable IndexStyle(::AbstractArray{Bool})
8889

8990
#####

0 commit comments

Comments
 (0)