diff options
author | Thomas White <taw@physics.org> | 2013-03-11 17:45:27 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-03-11 17:45:57 +0100 |
commit | bb56d8540763997ae88668c9ab444853626b6ac2 (patch) | |
tree | 62358f27985c5f515783166ea9ebc4a429ffd31c /libcrystfel/src | |
parent | 4b7fbbbfdea27b9098af5174dee9910baae0ab31 (diff) |
Fix type
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/filters.c | 2 |
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. */ |