expt_lmdk_sel: Minor correction

This commit is contained in:
Manos Katsomallos 2021-10-05 23:39:44 +02:00
parent 9628cbe29b
commit dbebff7601

View File

@ -63,7 +63,7 @@ def main(args):
# Get an option for this part # Get an option for this part
if len(opts) > 1: if len(opts) > 1:
res_pt, _ = exp_mech.exponential(hist_pt, opts, exp_mech.score, 1.0, e) res_pt, _ = exp_mech.exponential(hist_pt, opts, exp_mech.score, 1.0, e)
elif len(opts) > 0: elif len(opts) == 1:
res_pt = opts[0] res_pt = opts[0]
# Merge options of all parts # Merge options of all parts
res[pt_i] = np.sum(res_pt) res[pt_i] = np.sum(res_pt)