aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-01-20 15:45:26 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:43 +0100
commitb846de8dd0e22be28956f4b0ebb56ac78b73a202 (patch)
tree856f52ab4a816db32907569edc31e1825fb52ff9
parent4cd99469d0d369933143c985df665bac35dbb363 (diff)
Don't forget to increment the index
-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;