Skip to content

Commit bfe180c

Browse files
Make JET.jl happy...
1 parent d1b9adc commit bfe180c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CircularArrayBuffers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function Base.empty!(cb::CircularArrayBuffer)
122122
cb
123123
end
124124

125-
function Base.push!(cb::CircularArrayBuffer{T,N}, data) where {T,N}
125+
function Base.push!(cb::CircularArrayBuffer{T,N}, data::D) where {T,N,D}
126126
if isfull(cb)
127127
cb.first = (cb.first == capacity(cb) ? 1 : cb.first + 1)
128128
else
@@ -137,7 +137,7 @@ function Base.push!(cb::CircularArrayBuffer{T,N}, data) where {T,N}
137137
cb
138138
end
139139

140-
function Base.append!(cb::CircularArrayBuffer{T,N}, data) where {T,N}
140+
function Base.append!(cb::CircularArrayBuffer{T,N}, data::D) where {T,N,D}
141141
d, r = divrem(length(data), cb.step_size)
142142
@assert r == 0
143143
if length(data) >= length(cb.buffer)

0 commit comments

Comments
 (0)