From bb56d8540763997ae88668c9ab444853626b6ac2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 11 Mar 2013 17:45:27 +0100 Subject: Fix type --- libcrystfel/src/filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel/src') 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; yheight; 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. */ -- cgit v1.2.3