From 003dbe419d9e35b30892af9103dc5c1e15eb6e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Wed, 2 Oct 2013 15:53:38 +0200 Subject: [PATCH] MINOR: add missing type --- skimage/transform/_hough_transform.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/transform/_hough_transform.pyx b/skimage/transform/_hough_transform.pyx index 7f2b153c..21f6daf7 100644 --- a/skimage/transform/_hough_transform.pyx +++ b/skimage/transform/_hough_transform.pyx @@ -153,7 +153,7 @@ def hough_ellipse(cnp.ndarray img, int threshold=4, double accuracy=1, cdef Py_ssize_t num_pixels = pixels.shape[0] cdef list acc = list() cdef list results = list() - cdef bin_size = accuracy**2 + cdef double bin_size = accuracy**2 cdef int max_b_squared if max_size is None: