aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/reax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/reax.c b/libcrystfel/src/reax.c
index 6db5d3dd..93b93659 100644
--- a/libcrystfel/src/reax.c
+++ b/libcrystfel/src/reax.c
@@ -164,7 +164,7 @@ static double check_dir(struct dvec *dir, ImageFeatureList *flist,
double mean;
double sd = 0.0;
int j;
- int n;
+ int n = 0;
for ( j=0; j<nel/2+1; j++ ) {