aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/detector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index e5279f1d..3dc5c7aa 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -1710,6 +1710,8 @@ struct detector *copy_geom(const struct detector *in)
out->n_rigid_groups = 0;
out->rigid_groups = NULL;
+ out->n_rg_collections = 0;
+ out->rigid_group_collections = NULL;
for ( i=0; i<out->n_panels; i++ ) {