aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-21 11:05:57 +0200
committerThomas White <taw@physics.org>2021-04-21 11:05:57 +0200
commit2298cdfebbb9e2a88d86e9227fe0b38cb0afc800 (patch)
treeb7d4e086bccf79558cc43d92e50a1f958e4bd745 /src
parent184f24b115c0e7f57bf71b289a2f4e3bb472641c (diff)
Remove index_args->max_n_peaks
It's not used anywhere.
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c1
-rw-r--r--src/process_image.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index f2852c99..8d06e276 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -190,7 +190,6 @@ static void write_harvest_file(struct index_args *args,
write_bool(fh, 1, "half_pixel_shift", args->half_pixel_shift);
write_int(fh, 1, "min_res_px", args->min_res);
write_int(fh, 1, "max_res_px", args->max_res);
- write_int(fh, 1, "max_num_peaks", args->max_n_peaks);
write_int(fh, 1, "min_pixel_count", args->min_pix_count);
write_int(fh, 1, "max_pixel_count", args->max_pix_count);
write_int(fh, 1, "local_bg_radius_px", args->local_bg_radius);
diff --git a/src/process_image.h b/src/process_image.h
index ec7e22e2..cba6aa55 100644
--- a/src/process_image.h
+++ b/src/process_image.h
@@ -71,7 +71,6 @@ struct index_args
int half_pixel_shift;
int min_res;
int max_res;
- int max_n_peaks;
int min_pix_count;
int max_pix_count;
int local_bg_radius;