aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index 6e81e311..e4e3587a 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -154,7 +154,7 @@ static int dir_conv(const char *a, double *sx, double *sy, double *sz)
char **bits;
int i;
- *sx = 0.0; *sy = 0.0;
+ *sx = 0.0; *sy = 0.0; *sz = 0.0;
n = assplode_algebraic(a, &bits);