From 6cb47a6e3b4594273257261ce47ad844a68bdd2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sat, 16 Feb 2013 08:11:00 +0100 Subject: [PATCH] Make list of zip in Python 3 explicitely --- 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 f2a22d15..d5483895 100644 --- a/skimage/transform/_hough_transform.pyx +++ b/skimage/transform/_hough_transform.pyx @@ -103,7 +103,7 @@ def _probabilistic_hough(np.ndarray img, int value_threshold, # find the nonzero indexes y_idxs, x_idxs = np.nonzero(img) - points = zip(x_idxs, y_idxs) + points = list(zip(x_idxs, y_idxs)) # mask all non-zero indexes mask[y_idxs, x_idxs] = 1