File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments