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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 949be146..cb3639e4 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -88,6 +88,8 @@ IndexingPrivate **prepare_indexing(IndexingMethod *indm, UnitCell *cell,
}
+ if ( iprivs[n] == NULL ) return NULL;
+
}
iprivs[n] = NULL;