We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2890a commit ea6642cCopy full SHA for ea6642c
ot/lp/emd_wrap.pyx
@@ -203,4 +203,5 @@ def emd_1d_sorted(np.ndarray[double, ndim=1, mode="c"] u_weights,
203
w_i -= w_j
204
w_j = v_weights[j]
205
cur_idx += 1
206
+ cur_idx += 1
207
return G[:cur_idx], indices[:cur_idx], cost
0 commit comments