aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/facetron.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/facetron.c b/src/facetron.c
index 78a4b72b..0a52d784 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -257,6 +257,7 @@ static void estimate_full(struct image *images, int n_total_patterns,
clear_items(obs);
memset(i_full, 0, LIST_SIZE*sizeof(double));
+ memset(cts, 0, LIST_SIZE*sizeof(unsigned int));
tasks = malloc(n_total_patterns * sizeof(struct integrate_args));
for ( i=0; i<n_total_patterns; i++ ) {