aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");
+ }
}
}