We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259a2a4 commit 2e36edfCopy full SHA for 2e36edf
pacman/model/routing_table_by_partition/multicast_routing_table_by_partition_entry.py
@@ -199,4 +199,12 @@ def has_same_route(
199
:rtype: bool
200
"""
201
# pylint:disable=protected-access
202
- return (self.spinnaker_route == entry.spinnaker_route)
+ # False if the outgoing processor of linsk are diffeent
203
+ if self.spinnaker_route != entry.spinnaker_route:
204
+ return False
205
+ # True if the incoming link or processor is the same
206
+ if self._incoming == entry._incoming:
207
+ return True
208
+ # True if both have an incoming processor even if different
209
+ return (self._incoming > Router.MAX_LINKS_PER_ROUTER and
210
+ entry._incoming > Router.MAX_LINKS_PER_ROUTER)
0 commit comments