aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/process_image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 820eb248..9586d471 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -313,6 +313,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
iargs->peak_search.check_hdf5_snr);
image_feature_list_free(peaks);
image->features = npeaks;
+ } else {
+ image->features = peaks;
}
break;