Remove unneeded split

This commit is contained in:
Michael Bradley 2023-10-07 18:57:30 -04:00
parent d54c95347f
commit decedf5731
2 changed files with 2 additions and 4 deletions

View file

@ -15,7 +15,7 @@ def parse_csv(filename: str):
for i, [x, y, vx, vy, r] in enumerate(map(lambda l: map(float, l.split(',')), lines)):
pos[i] = [x, y]
vel[i] = [vx, vy]
rad[i] = [r]
rad[i] = r
return pos, vel, rad