Skip to content

Commit a75a045

Browse files
Add missing specialization
1 parent 612eaa7 commit a75a045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CircularArrayBuffers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ end
108108
109109
Here `i` is assumed to be the last dimension of `cb`. Each `frame` means a slice of the last dimension. Since we use *circular frames* (the `data` buffer) underlying, this function transforms the logical `i`-th frame to the real frame of the internal buffer.
110110
"""
111-
@inline function _buffer_frame(cb::CircularArrayBuffer, i::Int)
111+
@inline function _buffer_frame(cb::CircularArrayBuffer{T,N}, i::Int) where {T,N}
112112
n = capacity(cb)
113113
idx = cb.first + i - 1
114114
return wrap_index(idx, n)

0 commit comments

Comments
 (0)