From 1d6487eabaf7876a23261dae77240a7e40b1a16a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 12 Aug 2011 11:35:23 +0200 Subject: Add muppet proofing --- src/index.c | 1 + 1 file changed, 1 insertion(+) 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 ) { -- cgit v1.2.3