From 26b41f8beafe461f2ab2814402299e35fb6d6952 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 31 May 2013 22:22:28 -0700 Subject: Initialise reference_den to zero --- libcrystfel/src/integration.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libcrystfel') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index a991d6ed..a1774057 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -436,6 +436,7 @@ static void zero_profiles(struct intcontext *ic) for ( p=0; pw; p++ ) { for ( q=0; qw; q++ ) { ic->reference_profiles[i][p+ic->w*q] = 0.0; + ic->reference_den[i][p+ic->w*q] = 0.0; } } -- cgit v1.2.3