aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c
index 74a40e5d..b9de9540 100644
--- a/src/index.c
+++ b/src/index.c
@@ -144,6 +144,7 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod *indm,
if ( indm == NULL ) return;
map_all_peaks(image);
+ image->indexed_cell = NULL;
while ( indm[n] != INDEXING_NONE ) {