From 6387bb7e1aebde5af5c117ae1cc1111c0db04bc3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 5 Mar 2010 14:47:35 +0100 Subject: Report if a cell was found but not matched --- src/index.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.c b/src/index.c index f5090265..713380e7 100644 --- a/src/index.c +++ b/src/index.c @@ -102,5 +102,8 @@ void index_pattern(struct image *image, IndexingMethod indm, int no_match, image->molecule->cell, verbose); free(image->indexed_cell); image->indexed_cell = new_cell; + if ( new_cell == NULL ) { + STATUS("Cell found, but not matched.\n"); + } } } -- cgit v1.2.3