aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peakfinder8.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-05 11:47:41 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:24 +0200
commit94df5f31d5a91b22991e26cd02bc37763005f2d1 (patch)
tree569de419937b1b17747e396837ee222e736ea568 /libcrystfel/src/peakfinder8.c
parent026af04547c22c67886c66d3b1808c4dd3ade997 (diff)
ImageFeatureList: Store panel number, not pointer
This makes the conversion to DataTemplate/detgeom MUCH easier.
Diffstat (limited to 'libcrystfel/src/peakfinder8.c')
-rw-r--r--libcrystfel/src/peakfinder8.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcrystfel/src/peakfinder8.c b/libcrystfel/src/peakfinder8.c
index c3f7c391..492f5741 100644
--- a/libcrystfel/src/peakfinder8.c
+++ b/libcrystfel/src/peakfinder8.c
@@ -1205,9 +1205,7 @@ int peakfinder8(struct image *img, int max_n_peaks,
image_add_feature(img->features,
pkdata->com_fs[pki]+0.5,
pkdata->com_ss[pki]+0.5,
- p,
- img,
- pkdata->tot_i[pki],
+ pi, img, pkdata->tot_i[pki],
NULL);
}
}