aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c3
1 files changed, 2 insertions, 1 deletions
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 :