Skip to content

Commit 38829e3

Browse files
Update ArrayInterface.jl
1 parent d9eca2c commit 38829e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ a matching `ArrayPartition`.
459459
"""
460460
function restructure(x,y)
461461
out = similar(x,eltype(y))
462-
out .= y
462+
vec(out) .= vec(y)
463463
end
464464

465465
function restructure(x::Array,y)

0 commit comments

Comments
 (0)