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 a9ffb9e commit bfc519eCopy full SHA for bfc519e
src/array_partition.jl
@@ -2,7 +2,7 @@ immutable ArrayPartition{T}
2
x::T
3
end
4
ArrayPartition(x...) = ArrayPartition((x...))
5
-function ArrayPartition{T}(x,::Type{Val{T}}=Val{false})
+function ArrayPartition{T}(x::Tuple,::Type{Val{T}}=Val{false})
6
if T
7
return ArrayPartition(((copy(a) for a in x)...))
8
else
0 commit comments