Open JvqingLiu opened 3 years ago
import numpy as np import traj_dist.distance as tdist
a=np.array([(116.750,40.632),(116.760,40.642),(116.770,40.652)]) b=np.array([(116.751,40.632),(116.761,40.642),(116.771,40.652)])
print(tdist.sowd_grid(a,b,"spherical",False))
ValueError: Buffer dtype mismatch, expected 'long' but got 'long long' I think it's a C long problem, please help me, thanks a lot! @bguillouet @djjavo
ValueError: Buffer dtype mismatch, expected 'long' but got 'long long'
+1, wait for a answer.
+1, wait for a answer. I would appreciate it if someone could help me. @bguillouet @djjavo
same issue
Has anyone solved this problem?can you give us some suggestions?
import numpy as np import traj_dist.distance as tdist
a=np.array([(116.750,40.632),(116.760,40.642),(116.770,40.652)]) b=np.array([(116.751,40.632),(116.761,40.642),(116.771,40.652)])
print(tdist.sowd_grid(a,b,"spherical",False))
15