Skip to content

Commit

Permalink
Add support for BitArray
Browse files Browse the repository at this point in the history
  • Loading branch information
mbauman committed Feb 13, 2018
1 parent aa65214 commit 6bbaa50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/bitarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ isassigned(B::BitArray, i::Int) = 1 <= i <= length(B)

IndexStyle(::Type{<:BitArray}) = IndexLinear()

dataids(B::BitArray) = (objectid(B):objectid(B),)
unalias(dest, B::BitArray) = mightalias(dest, B) ? copy(B) : B

## aux functions ##

const _msk64 = ~UInt64(0)
Expand Down

0 comments on commit 6bbaa50

Please sign in to comment.