Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Dec 30, 2023
1 parent 76f7e13 commit 9dddfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parallel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function Base.put!(f!, ringbuffer::RingBuffer)
return buf_
end

Base.put!(c::Channel{T}, b::MLUtils.RingBuffer) = throw(MethodError(put!, (c, b)))
Base.put!(c::Channel, b::MLUtils.RingBuffer) = throw(MethodError(put!, (c, b)))

function Base.close(ringbuffer::RingBuffer, args...)
close(ringbuffer.results, args...)
Expand Down

0 comments on commit 9dddfff

Please sign in to comment.