From 4b0a0f6443778d46dad96638abd8cdd0928b56d4 Mon Sep 17 00:00:00 2001 From: Alexey Stukalov Date: Wed, 18 Jan 2017 18:04:50 +0100 Subject: [PATCH] fix whitespace --- src/indexing.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/indexing.jl b/src/indexing.jl index fae0b68..6a227eb 100644 --- a/src/indexing.jl +++ b/src/indexing.jl @@ -109,14 +109,14 @@ else end function Base.checkbounds(::Type{Bool}, sz::Int, I::NullableVector{Bool}) - anynull(I) && throw(NullException()) + anynull(I) && throw(NullException()) length(I) == sz - end + end function Base.checkbounds{T<:Real}(::Type{Bool}, sz::Int, I::NullableArray{T}) inbounds = true - anynull(I) && throw(NullException()) - for i in 1:length(I) + anynull(I) && throw(NullException()) + for i in 1:length(I) @inbounds v = unsafe_getvalue_notnull(I, i) inbounds &= checkbounds(Bool, sz, v) end