Remove unneeded third sort key
This commit is contained in:
parent
871cab72f4
commit
1248c2b7c8
1 changed files with 0 additions and 1 deletions
|
|
@ -340,7 +340,6 @@ class SmartSpiral(ScanPlanner):
|
||||||
return (
|
return (
|
||||||
moves_between(current_pos, pos, [self._dx, self._dy]),
|
moves_between(current_pos, pos, [self._dx, self._dy]),
|
||||||
self.moves_from_centre(pos),
|
self.moves_from_centre(pos),
|
||||||
distance_between(current_pos, pos),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
self._remaining_locations.sort(key=sort_key)
|
self._remaining_locations.sort(key=sort_key)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue