Skip to content

Commit

Permalink
Minor correction to the radial placer that makes it work faster
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Jun 4, 2015
1 parent 966db0c commit b308399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacman/operations/placer_algorithms/radial_placer.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def _place_vertex(self, vertex, resource_tracker, machine, placements):
# Check for the radial placement constraint
radial_constraints = utility_calls.locate_constraints_of_type(
[vertex], PlacerRadialPlacementFromChipConstraint)
start_x = 0
start_y = 0
start_x = None
start_y = None
for constraint in radial_constraints:
if start_x is None:
start_x = constraint.x
Expand Down

0 comments on commit b308399

Please sign in to comment.