aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-05 14:47:35 +0100
committerThomas White <taw@physics.org>2010-03-05 14:47:35 +0100
commit6387bb7e1aebde5af5c117ae1cc1111c0db04bc3 (patch)
tree9f93a49f0d9c7c50ccb7c4a9f3cb0f743bc0fe03 /src/index.c
parentf5fb1058c747651c0f06eadfdcac6d2fd17c7264 (diff)
Report if a cell was found but not matched
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c3
1 files changed, 3 insertions, 0 deletions
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");
+ }
}
}