aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 19894ca7..c8260fc1 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -639,7 +639,7 @@ void output_intensities(struct image *image, UnitCell *cell,
printf("Peak statistics: %i peaks found by the peak search out of "
"%i were close to indexed positions. "
"%i indexed positions out of %i were close to detected peaks.\n",
- n_foundclose, n_found, n_indclose, n_hits);
+ n_foundclose, n_found, n_indclose, image->n_hits);
printf("%i integrations using indexed locations were aborted because "
"they hit one or more bad pixels.\n", n_veto);
printf("%i integrations using peak search locations were aborted "