diff options
-rw-r--r-- | src/index.c | 1 |
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 ) { |