Skip to content

Commit 0b84087

Browse files
Dropping warn message as JET.jl hates it
1 parent 8934e3f commit 0b84087

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/CircularArrayBuffers.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ function wrap_index(idx::Int, n::Int)
9898
elseif idx <= 2n
9999
return idx - n
100100
else
101-
@warn "oops! idx " * idx * " > 2n " * 2n
102-
return idx - n
101+
return -1
103102
end
104103
end
105104

0 commit comments

Comments
 (0)