From 5647e2dd25762db59215390caed3f0b324b35f2f Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 1 Aug 2024 14:48:21 +1200 Subject: [PATCH] Update --- src/broadcast.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcast.jl b/src/broadcast.jl index 338fab6..3dd567d 100644 --- a/src/broadcast.jl +++ b/src/broadcast.jl @@ -115,13 +115,13 @@ function _try_size(x::AbstractArray) end _try_size(x::Array) = size(x) -_checked_size(::Missing, ::Any) = false _checked_size(x_size::Any, y::AbstractArray) = x_size == _try_size(y) _checked_size(::Any, ::Any) = true _checked_size(::Any, ::Tuple{}) = true function _checked_size(x_size::Any, y::Tuple) return _checked_size(x_size, y[1]) && _checked_size(x_size, Base.tail(y)) end +_checked_size(::Missing, ::Tuple) = false # This method is a slightly tricky one: #