| 384 | #pragma intel optimization_level 0 |
| 385 | #endif |
| 386 | static inline npy_intp |
| 387 | _linear_search(const npy_double key, const npy_double *arr, const npy_intp len, const npy_intp i0) |
| 388 | { |
| 389 | npy_intp i; |
| 390 | |
| 391 | for (i = i0; i < len && key >= arr[i]; i++); |
| 392 | return i - 1; |
| 393 | } |
| 394 | |
| 395 | /** @brief find index of a sorted array such that arr[i] <= key < arr[i + 1]. |
| 396 | * |
no outgoing calls
no test coverage detected