aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-08-12 11:35:23 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:36 +0100
commit1d6487eabaf7876a23261dae77240a7e40b1a16a (patch)
tree86a16b02fb47c9598f51f2893aa83a023a758858
parent420fcb504e9b69d6354698626b1606404c2c0768 (diff)
Add muppet proofing
-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 ) {