From d1142736c4b537ec958374e9071fad54516dbca0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 17 Mar 2010 17:43:31 +0100 Subject: Improved verbosity --- src/index.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/index.c') 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; } -- cgit v1.2.3