Skip to content

Commit efc7f76

Browse files
committed
add comment to clarify last implicit elif
1 parent 4c5ff3f commit efc7f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpysal/cg/alpha_shapes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def alpha_shape_auto(xys, step=1, verbose=False,
605605
return [alpha_shape, r, circle]
606606
return [alpha_shape, r]
607607
return alpha_shape
608-
elif return_radius:
608+
elif return_radius: # this handles xys.shape[0] == 3
609609
radius = r_circumcircle_triangle_single(xys[0], xys[1], xys[2])
610610
if return_circles:
611611
circles = construct_bounding_circles(alpha_shape, radius)

0 commit comments

Comments
 (0)