Skip to content

Commit 9f096fa

Browse files
committed
Remove another redundant list() call
1 parent 27ea80c commit 9f096fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

day13/src/day13.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
if m := re.search(r'Button .: X\+(\d+), Y\+(\d+)', line):
1414
cols.append([int(m[1]), int(m[2])])
1515
elif m := re.search(r'Prize: X=(\d+), Y=(\d+)', line):
16-
vecs.append(np.array(list([int(m[1]), int(m[2])])))
16+
vecs.append(np.array([int(m[1]), int(m[2])]))
1717
elif cols:
1818
mats.append(np.array(cols).T)
1919
cols = []

0 commit comments

Comments
 (0)