Fix: last cycle in get_cycle_vector

If inds[-1] == phase.shape[0] - 1, then we should not add phase.shape[0] - 1 as an additional index at the end, since this would lead to an empty vector cycle phase [].

Merge request reports

Loading