aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-17 17:43:31 +0100
committerThomas White <taw@physics.org>2010-03-17 17:43:31 +0100
commitd1142736c4b537ec958374e9071fad54516dbca0 (patch)
treec0c9e55965703b0513da41c6fb39b1f70e2f4d25 /src/index.c
parent639e1d91c3e8f1af8de07fa457002932eb42b72e (diff)
Improved verbosity
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/index.c b/src/index.c
index 155e11e4..daa16b27 100644
--- a/src/index.c
+++ b/src/index.c
@@ -118,9 +118,8 @@ void index_pattern(struct image *image, IndexingMethod indm, int no_match,
new_cell = match_cell(image->candidate_cells[i],
image->molecule->cell, verbose);
image->indexed_cell = new_cell;
- if ( new_cell == NULL ) {
- STATUS("Cell %i not matched.\n", i);
- } else {
+ if ( new_cell != NULL ) {
+ STATUS("Matched on attempt %i.\n", i);
goto done;
}