change distribute to a::AbstractArray to get distributed BitArray
Merge pull request #3172 from timema/patch-1

change distribute to a::AbstractArray to get distributed BitArray