Skip to content

Commit 19f2097

Browse files
fix typo
1 parent 3398f2b commit 19f2097

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
@@ -120,7 +120,7 @@ function Base.copyto!(A::ArrayPartition,src::ArrayPartition)
120120
A.x[i] .= @view(src[cur:(cur+length(A.x[i])-1)])
121121
cur += length(A.x[i])
122122
end
123-
dest
123+
A
124124
end
125125

126126
## indexing

0 commit comments

Comments
 (0)