From 2977589d2201ade9aa02289a54359288af2ff16e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 27 May 2013 17:24:58 +0200 Subject: Fix ReAx stack corruption --- libcrystfel/src/index.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcrystfel/src/index.c') diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index bd187cf5..8307778d 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -214,6 +214,7 @@ static int try_indexer(struct image *image, IndexingMethod indm, switch ( indm & INDEXING_METHOD_MASK ) { case INDEXING_NONE : + return 0; break; case INDEXING_DIRAX : @@ -229,7 +230,7 @@ static int try_indexer(struct image *image, IndexingMethod indm, break; case INDEXING_REAX : - return reax_index(image, ipriv); + return reax_index(ipriv, image); break; case INDEXING_GRAINSPOTTER : -- cgit v1.2.3