Maybe a bug in iw.py
Opened this issue · 0 comments
DualProblem commented
Line 290 in 0c66ec2
ix = np.argmin(d, axis=1)
To count target samples within each source Voronoi cell, ix should be the index of the source sample if there exists a target sample that is closest to this source sample.
So it should be "ix = np.argmin(d, axis=0)".
If I have some misunderstanding, please correct me and forgive me. Thanks!