aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r--libcrystfel/src/peaks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index cbcb2ed0..768b9ce9 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -573,6 +573,8 @@ static struct integr_ind *sort_reflections(RefList *list, UnitCell *cell,
il[i].l = l;
il[i].res = res;
il[i].refl = refl;
+
+ i++;
}
return il;