Use left-style index search on RHS scan as well

epoch_index_backup
Tyler Goodlet 2022-12-27 13:13:21 -05:00
parent daf1cfc785
commit 2fde315089
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ def slice_from_time(
new_read_i_stop = np.searchsorted( new_read_i_stop = np.searchsorted(
times[read_i_start:], times[read_i_start:],
i_stop_t, i_stop_t,
side='right', side='left',
) )
if ( if (