getting out of the insurance business :-)

This commit is contained in:
Axel Kohlmeyer
2023-01-23 16:45:41 -05:00
parent 6148ee7ba4
commit 27da716852
312 changed files with 426 additions and 426 deletions

View File

@ -1651,7 +1651,7 @@ int utils::binary_search(const double needle, const int n, const double *haystac
if (needle < haystack[lo]) return lo;
if (needle >= haystack[hi]) return hi;
// insure haystack[lo] <= needle < haystack[hi] at every iteration
// ensure haystack[lo] <= needle < haystack[hi] at every iteration
// done when lo,hi are adjacent
int index = (lo + hi) / 2;