Skip to content

Commit

Permalink
Always use list for IO sides
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoduoza committed Dec 2, 2024
1 parent 0325ad2 commit 252a310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canal/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def create_uniform_interconnect(width: int,
# based on the IO sides specified. these are inclusive
# once it's assigned to None, nullify everything
if IOSide.None_ in io_sides:
io_sides = IOSide.None_
io_sides = [IOSide.None_]
x_min, x_max, y_min, y_max = get_array_size(width, height, io_sides)
# create tiles and set cores
for x in range(x_min, x_max + 1):
Expand Down

0 comments on commit 252a310

Please sign in to comment.