aboutsummaryrefslogtreecommitdiff
path: root/src/intensities.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-30 14:29:26 +0100
committerThomas White <taw@physics.org>2009-11-30 14:29:26 +0100
commit30414a13a45643d340e29aa10af4b1045bdea832 (patch)
tree9bae5305f3074ea337dc22c319ca6e77e3af1f88 /src/intensities.c
parent5739d122831f5726b67cbfa6427ab0a6dc092798 (diff)
Don't blank out reflections
Diffstat (limited to 'src/intensities.c')
-rw-r--r--src/intensities.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intensities.c b/src/intensities.c
index 7630bcd8..6371fffa 100644
--- a/src/intensities.c
+++ b/src/intensities.c
@@ -42,7 +42,6 @@ static int sum_nearby_points(uint16_t *data, int width, int x, int y)
for ( dx=-3; dx<=3; dx++ ) {
for ( dy=-3; dy<=3; dy++ ) {
intensity += data[(x+dx) + width*(y+dy)];
- data[(x+dx) + width*(y+dy)] = 0;
}
}