Skip to content

Commit

Permalink
remove print statements from pad_3d_list()
Browse files Browse the repository at this point in the history
  • Loading branch information
rol1510 committed Dec 31, 2020
1 parent be31d18 commit 64f0b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utility/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def pad_3d_list(data, element, thickness=1):
width = len(res[0])
height = len(res[0][0])
padding = [[element] * height] * width
print(padding)

# copy the padding first, else both sides will reference the same list
x = pad_1d_list(res, padding.copy(), thickness)
print(x)

return x

0 comments on commit 64f0b5f

Please sign in to comment.