aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/integration.c1
1 files changed, 1 insertions, 0 deletions
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; p<ic->w; p++ ) {
for ( q=0; q<ic->w; q++ ) {
ic->reference_profiles[i][p+ic->w*q] = 0.0;
+ ic->reference_den[i][p+ic->w*q] = 0.0;
}
}