Skip to content

Commit 68c9ab0

Browse files
fix copyto! broadcast
1 parent 62e753b commit 68c9ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ end
3737
construct(CommonType, map(f,N), f(nothing))
3838
end
3939

40-
@inline function Base.copyto!(dest::AMSA, bc::Broadcast.Broadcasted)
40+
@inline function Base.copyto!(dest::AMSA, bc::Broadcast.Broadcasted{Nothing})
4141
N = length(dest.nodes)
4242
for i in 1:N
4343
copyto!(dest.nodes[i], unpack(bc, i))

0 commit comments

Comments
 (0)