Skip to content

Commit

Permalink
Fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Oct 3, 2019
1 parent 79cc05e commit c45bb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pacman/model/graphs/impl/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def add_vertex(self, vertex):
raise PacmanAlreadyExistsException("vertex", vertex.label)
vertex.set_label(vertex.label + self._label_postfix())
vertex.addedToGraph()
self._vertices.add(vertex)
self._vertices.append(vertex)
self._vertex_by_label[vertex.label] = vertex

@overrides(AbstractGraph.add_edge)
Expand Down

0 comments on commit c45bb2a

Please sign in to comment.