aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-03-11 17:45:27 +0100
committerThomas White <taw@physics.org>2013-03-11 17:45:57 +0100
commitbb56d8540763997ae88668c9ab444853626b6ac2 (patch)
tree62358f27985c5f515783166ea9ebc4a429ffd31c /libcrystfel/src
parent4b7fbbbfdea27b9098af5174dee9910baae0ab31 (diff)
Fix type
Diffstat (limited to 'libcrystfel/src')
-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. */