From bd233188cce2c0f8203dd2a4c60eecd9abcb9bbf Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 5 Feb 2010 17:45:10 +0100 Subject: Add (slow) bandwidth and multisampling --- src/detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/detector.c') diff --git a/src/detector.c b/src/detector.c index 2c313cdc..ccf37024 100644 --- a/src/detector.c +++ b/src/detector.c @@ -182,7 +182,7 @@ void record_image(struct image *image, int do_water, int do_poisson, if ( do_water ) { /* Add intensity contribution from water */ - water = water_intensity(image->qvecs[x + image->width*y], + water = water_intensity(image->qvecs[0][x + image->width*y], ph_lambda_to_en(image->lambda), BEAM_RADIUS, WATER_RADIUS); intensity += water; -- cgit v1.2.3