Skip to content

Commit 3056492

Browse files
committed
format
1 parent f70e46d commit 3056492

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/array_partition.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,13 @@ function recursivecopy!(A::ArrayPartition, B::ArrayPartition)
329329
end
330330
recursivecopy(A::ArrayPartition) = ArrayPartition(copy.(A.x))
331331

332-
function recursivecopy(A::ArrayPartition{T, S}) where {T, S <: Tuple{Vararg{AbstractVectorOfArray}}}
332+
function recursivecopy(A::ArrayPartition{
333+
T, S}) where {T, S <: Tuple{Vararg{AbstractVectorOfArray}}}
333334
return ArrayPartition(map(recursivecopy, A.x))
334335
end
335336

336-
function recursivecopy!(A::ArrayPartition{T, S}, B::ArrayPartition{T, S}) where {T, S <: Tuple{Vararg{AbstractVectorOfArray}}}
337+
function recursivecopy!(A::ArrayPartition{T, S},
338+
B::ArrayPartition{T, S}) where {T, S <: Tuple{Vararg{AbstractVectorOfArray}}}
337339
for i in eachindex(A.x, B.x)
338340
recursivecopy!(A.x[i], B.x[i])
339341
end
@@ -486,7 +488,7 @@ end
486488
## Linear Algebra
487489

488490
function ArrayInterface.zeromatrix(A::ArrayPartition)
489-
x = reduce(vcat,vec.(A.x))
491+
x = reduce(vcat, vec.(A.x))
490492
x .* x' .* false
491493
end
492494

0 commit comments

Comments
 (0)