From 1d6e0c0dcdfff31bc4b72fdfa105227ecc54f35f Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 15 Sep 2018 22:49:36 +0200 Subject: [PATCH] submulti is not allowed for consistency --- tiramisu/option/option.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tiramisu/option/option.py b/tiramisu/option/option.py index 361a71b..70d719e 100644 --- a/tiramisu/option/option.py +++ b/tiramisu/option/option.py @@ -611,13 +611,8 @@ class Option(OnlyOption): length = len_value if isinstance(opt_value, list) and func in ALLOWED_CONST_LIST: for value_ in opt_value: - if opt.impl_is_submulti(): - for val in value_: - all_cons_vals.append( val) - all_cons_opts.append(opt) - else: - all_cons_vals.append(value_) - all_cons_opts.append(opt) + all_cons_vals.append(value_) + all_cons_opts.append(opt) else: all_cons_vals.append(opt_value) all_cons_opts.append(opt)