diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-05-31 22:22:28 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-05-31 22:22:28 -0700 |
commit | 26b41f8beafe461f2ab2814402299e35fb6d6952 (patch) | |
tree | e40d3ab3e866515a6b322cb249d7d6a374ebf416 /libcrystfel/src | |
parent | 1dd57e8b9529e0defddfb4692efaa78f6313b405 (diff) |
Initialise reference_den to zero
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/integration.c | 1 |
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; } } |