aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-08-10 16:52:40 +0200
committerThomas White <taw@physics.org>2016-08-10 16:52:40 +0200
commitaa7ebf4cecdc358f2dc5797bbc58d62f4f8b90f6 (patch)
treebc52c00268ac77bc243233943d473b44f28382cb /libcrystfel
parent24d7be7edf6564459b006327a097adc884b7fa7e (diff)
Ensure z component is set in dir_conv()
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);