aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index d59132c5..c7108fee 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -180,8 +180,6 @@ int main(int argc, char *argv[])
if ( image_feature_count(image.features) > 5 ) {
- n_hits++;
-
if ( config_dumpfound ) dump_peaks(&image);
/* Not indexing nor writing xfel.drx?
@@ -198,6 +196,8 @@ int main(int argc, char *argv[])
/* No cell at this point? Then we're done. */
if ( image.indexed_cell == NULL ) goto done;
+ n_hits++;
+
/* Simulation or intensity measurements both require
* Ewald sphere vectors */
if ( config_nearbragg || config_simulate ) {