diff --git a/scikits/image/transform/_hough_transform.pyx b/scikits/image/transform/_hough_transform.pyx index 3373c0b3..6239b5b1 100644 --- a/scikits/image/transform/_hough_transform.pyx +++ b/scikits/image/transform/_hough_transform.pyx @@ -44,7 +44,7 @@ def _hough(np.ndarray img, np.ndarray[ndim=1, dtype=np.double_t] theta=None): offset = max_distance / 2 # compute the nonzero indexes - cdef np.ndarray[ndim=1, dtype=np.int32_t] x_idxs, y_idxs + cdef np.ndarray[ndim=1, dtype=np.int_t] x_idxs, y_idxs y_idxs, x_idxs = np.PyArray_Nonzero(img) # finally, run the transform