aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/diffraction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index f577be45..5938c307 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -256,7 +256,7 @@ void get_diffraction(struct image *image, int na, int nb, int nc, int no_sfac,
/* Add intensity contribution from water */
image->data[x + image->width*y] += water_diffraction(q,
ph_lambda_to_en(image->lambda),
- BEAM_RADIUS, WATER_RADIUS);
+ BEAM_RADIUS, WATER_RADIUS) * sw;
}