aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/filters.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/filters.c')
-rw-r--r--libcrystfel/src/filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/filters.c b/libcrystfel/src/filters.c
index 2ce782d9..40dfe04a 100644
--- a/libcrystfel/src/filters.c
+++ b/libcrystfel/src/filters.c
@@ -50,7 +50,7 @@ void filter_noise(struct image *image)
for ( y=0; y<image->height; y++ ) {
int dx, dy;
- int val = image->data[x+image->width*y];
+ float val = image->data[x+image->width*y];
/* FIXME: This isn't really the right thing to do
* at the edges. */