From e9c9c2ca072533a474d5ab9e5fee3a8046317560 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Mon, 5 Aug 2013 10:20:48 +1000 Subject: [PATCH] Move code comment to appropriate line --- skimage/morphology/convex_hull.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/morphology/convex_hull.py b/skimage/morphology/convex_hull.py index 565b10ab..3d592dca 100644 --- a/skimage/morphology/convex_hull.py +++ b/skimage/morphology/convex_hull.py @@ -36,8 +36,6 @@ def convex_hull_image(image): # limits the number of coordinates to examine for the virtual # hull. coords = possible_hull(image.astype(np.uint8)) - # repeated coordinates can *sometimes* cause problems in - # scipy.spatial.Delaunay, so we remove them. N = len(coords) # Add a vertex for the middle of each pixel edge @@ -46,6 +44,8 @@ def convex_hull_image(image): (-0.5, 0.5, 0, 0))): coords_corners[i * N:(i + 1) * N] = coords + [x_offset, y_offset] + # repeated coordinates can *sometimes* cause problems in + # scipy.spatial.Delaunay, so we remove them. coords = unique_rows(coords_corners) try: