From aa7ebf4cecdc358f2dc5797bbc58d62f4f8b90f6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 10 Aug 2016 16:52:40 +0200 Subject: Ensure z component is set in dir_conv() --- libcrystfel/src/detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') 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); -- cgit v1.2.3