lmdk_sel_cmp: Dealt with zero-size array error
This commit is contained in:
parent
ab06753b84
commit
effd977e09
@ -57,6 +57,9 @@ def main(args):
|
||||
print('(%d/%d) %s... ' %(d_i + 1, len(dist_type), title), end='', flush=True)
|
||||
mae = np.zeros(len(lmdk_n))
|
||||
for n_i, n in enumerate(lmdk_n):
|
||||
# Skip the last one
|
||||
if n_i == len(lmdk_n) - 1:
|
||||
break
|
||||
for r in range(args.iter):
|
||||
lmdks = lmdk_lib.get_lmdks(seq, n, d)
|
||||
hist, h = lmdk_lib.get_hist(seq, lmdks)
|
||||
|
Loading…
Reference in New Issue
Block a user