Skip to content

Commit c3cfbbd

Browse files
Make CircularArrayBuffer pad! more generic
1 parent bec38e5 commit c3cfbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/episodes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function pad!(trace::Trace)
9090
return nothing
9191
end
9292

93-
pad!(buf::CircularVectorBuffer{T}) where {T} = push!(buf, zero(T))
93+
pad!(buf::CircularArrayBuffer{T}) where {T,N,A} = push!(buf, zero(T))
9494
pad!(vect::Vector{T}) where {T} = push!(vect, zero(T))
9595

9696
#push a duplicate of last element as a dummy element for all 'trace' objects, ignores multiplex traces, should never be sampled.

0 commit comments

Comments
 (0)