Skip to content

Commit

Permalink
use list
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 2, 2024
1 parent a6f6f13 commit c57e6d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ def _convert_bitfields_into_router_table(
# Add an Entry for each neuron
for neuron in range(n_neurons):
# build new entry for this neuron and add to table
processor_ids: Tuple[int] = (
processor_ids: List[int] = [
processor_id
for processor_id in original_entry.processor_ids
if core_map[processor_id][neuron])
if core_map[processor_id][neuron]]
routing_entry = RoutingEntry(
link_ids=entry_links, processor_ids=processor_ids)
new_table.add_multicast_routing_entry(MulticastRoutingEntry(
Expand Down

0 comments on commit c57e6d7

Please sign in to comment.