Skip to content

Commit 47be61c

Browse files
committed
fix comment
1 parent 6434a2d commit 47be61c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pointpats/centrography.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ def _skyum_lists(points):
10311031
for p in points
10321032
]
10331033
radii = [c[0] for c in circles]
1034-
lexord = np.lexsort((angles, radii)) # confusing as hell defaults...
1034+
lexord = np.lexsort((angles, radii))
10351035
lexmax = lexord[-1]
10361036
candidate = (
10371037
_prec(points[lexmax], points),
@@ -1080,9 +1080,7 @@ def _skyum_iteration(points):
10801080
# workaround for no lexsort in numba
10811081
radius_argmax = radii.argmax()
10821082
radius_max = radii[radius_argmax]
1083-
# angle_argmax = angles.argmax()
1084-
# angle_max = angles[angle_argmax]
1085-
# the maximum radius for the largest angle
1083+
# the maximum angle for the largest radius
10861084
lexmax = (angles * (radii == radius_max)).argmax()
10871085

10881086
if angles[lexmax] <= (np.pi / 2.0):

0 commit comments

Comments
 (0)