bguillouet / traj-dist

A python package for computing distance between 2D trajectories.
MIT License
310 stars 80 forks source link

There is a problem in the part of erp.py #8

Open haochudao opened 4 years ago

haochudao commented 4 years ago

I think there is a problem in the initialization of C, where: C[1:, 0] = sum(gt0_dist) C[0, 1:] = sum(gt1_dist)

It should be: j = 1 sum = 0 for i in gt0_dist: sum += i C[j, 0] = sum j += 1

Same to the C[0, 1:]