aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-02 14:11:39 -0700
committerThomas White <taw@physics.org>2013-06-02 14:11:39 -0700
commit8fb45911249c244a721d1bbea2eb5852f0a50b60 (patch)
tree7dac6d7b487d867cbba544888c476f88a70b2c62 /libcrystfel/src/detector.c
parent8a44164cfd5013687a0eb5cb10dc39c44db399c0 (diff)
Fix RG delta output, and write only if actually calibrated
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index 2fdd63f1..5cd0ce0f 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -567,6 +567,7 @@ static struct rigid_group *find_or_add_rg(struct detector *det,
rg->name = strdup(name);
rg->panels = NULL;
rg->n_panels = 0;
+ rg->have_deltas = 0;
return rg;
}