aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 05d669a1..5a1673c3 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -463,6 +463,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell,
const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n)
{
+ *n = p->n_methods;
return p->methods;
}