Skip to content

Commit

Permalink
Return Array{Nullable{T}} instead of NullableArray{T} in unique
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Feb 24, 2017
1 parent 388575a commit 69ca30f
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 @@ -136,4 +136,4 @@ levels!(A::NullableCategoricalArray, newlevels::Vector; nullok=false) = _levels!

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

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

0 comments on commit 69ca30f

Please sign in to comment.