Small simplification in compute_ruptures