Skip to content

Commit f4dd609

Browse files
double typez
1 parent de4c8d4 commit f4dd609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_partition.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ immutable ArrayPartition{T}
22
x::T
33
end
44
ArrayPartition(x...) = ArrayPartition((x...))
5-
function ArrayPartition{T}(x::Tuple,::Type{Val{T}}=Val{false})
5+
function ArrayPartition{T,T2<:Tuple}(x::T2,::Type{Val{T}}=Val{false})
66
if T
77
return ArrayPartition(((copy(a) for a in x)...))
88
else

0 commit comments

Comments
 (0)