Skip to content

Commit

Permalink
Fix unique(::NullableArray) on Julia 0.6
Browse files Browse the repository at this point in the history
eltype(NullableArray) now gives Any.
  • Loading branch information
nalimilan committed Feb 11, 2017
1 parent 9b3da42 commit 5363b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nullablearray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ levels!(A::NullableCategoricalArray, newlevels::Vector; nullok=false) = _levels!

droplevels!(A::NullableCategoricalArray) = levels!(A, _unique(Array, A.refs, A.pool))

unique(A::NullableCategoricalArray) = _unique(NullableArray, A.refs, A.pool)
unique{T}(A::NullableCategoricalArray{T}) = _unique(NullableArray{T}, A.refs, A.pool)

0 comments on commit 5363b34

Please sign in to comment.