We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b869b88 commit f65f667Copy full SHA for f65f667
src/array_partition.jl
@@ -7,7 +7,7 @@ end
7
ArrayPartition(x...) = ArrayPartition((x...,))
8
9
function ArrayPartition(x::S, ::Type{Val{copy_x}}=Val{false}) where {S<:Tuple,copy_x}
10
- T = promote_type(eltype.(x)...)
+ T = promote_type(recursive_bottom_eltype.(x)...)
11
if copy_x
12
return ArrayPartition{T,S}(copy.(x))
13
else
0 commit comments