Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit 5a88dab

Browse files
committed
Fix computing eltype
1 parent 3f17571 commit 5a88dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/broadcast.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if VERSION < v"0.6.0-dev" # Old approach needed for inference to work
2525
@inline ziptype(A, B, C, D...) = Zip{Tuple{eltype(A)}, ziptype(B, C, D...)}
2626

2727
nullable_broadcast_eltype(f, As...) =
28-
_default_eltype(Base.Generator{ziptype(As...), ftype(f, As...)})
28+
eltype(_default_eltype(Base.Generator{ziptype(As...), ftype(f, As...)}))
2929
else
3030
Base.@pure nullable_eltypestuple(a) = Tuple{eltype(eltype(a))}
3131
Base.@pure nullable_eltypestuple(T::Type) = Tuple{Type{eltype(T)}}

0 commit comments

Comments
 (0)