Skip to content

Commit a30dbcc

Browse files
committed
fix
1 parent e2a8add commit a30dbcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FindFirstFunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function (g::Guesser)(x)
239239
else
240240
i_0, i_f = firstindex(v), lastindex(v)
241241
i_appr = f * (i_f - i_0) + i_0
242-
if typemin(Int64) <= x <= typemax(Int64)
242+
if typemin(Int64) <= i_appr <= typemax(Int64)
243243
round(typeof(firstindex(v)), i_appr)
244244
else
245245
idx_prev[]

0 commit comments

Comments
 (0)