-
-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
In the rounding in for linear_lookup, this line can crash with an InexactError:
| round(typeof(firstindex(v)), f * (i_f - i_0) + i_0) |
This is presumably if the second argument float is too big to be rounded to any particular integer given its precision. I propose falling back to idx_prev[] in this case.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working