From b846de8dd0e22be28956f4b0ebb56ac78b73a202 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 20 Jan 2012 15:45:26 -0800 Subject: Don't forget to increment the index --- libcrystfel/src/peaks.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3