diff --git a/tiramisu/autolib.py b/tiramisu/autolib.py index e92c663..6a659a3 100644 --- a/tiramisu/autolib.py +++ b/tiramisu/autolib.py @@ -44,9 +44,11 @@ def carry_out_calculation(name, config, callback, callback_params): for key, values in callback_params.items(): for value in values: if type(value) == tuple: - if config is None: - raise ConfigError(_('no config specified but needed')) path, check_disabled = value + if config is None: + if check_disabled: + continue + raise ConfigError(_('no config specified but needed')) try: opt_value = config._getattr(path, force_permissive=True) opt = config.unwrap_from_path(path)