diff options
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r-- | src/scaling-report.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c index b161a01e..a02a1796 100644 --- a/src/scaling-report.c +++ b/src/scaling-report.c @@ -733,6 +733,13 @@ static void find_most_sampled_reflections(RefList *list, int n, signed int *h, Reflection *refl; RefListIterator *iter; int *samples; + int j; + + for ( j=0; j<n; j++ ) { + h[j] = 0; + k[j] = 0; + l[j] = 0; + } samples = calloc(n, sizeof(int)); |