From 921b65b7d260ad0de9bbabf5253990f92055d1a7 Mon Sep 17 00:00:00 2001 From: Alexey Stukalov Date: Wed, 18 Jan 2017 18:04:05 +0100 Subject: [PATCH] add index-less values() --- src/primitives.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/primitives.jl b/src/primitives.jl index b68a3bc..a45ab61 100644 --- a/src/primitives.jl +++ b/src/primitives.jl @@ -2,6 +2,7 @@ Base.isnull(x::NullableArray) = x.isnull @inline Base.isnull(X::NullableArray, I::Int...) = X.isnull[I...] @inline Base.isnull{T}(X::AbstractNullableArray{T}, I::Int...) = isnull(X[I...]) # fallback method +Base.values(X::NullableArray) = X.values @inline Base.values(X::NullableArray, I::Int...) = X.values[I...] """