From 2e0d1ef0184c0c0f55149ccf1d3dfa39f5c5c2f1 Mon Sep 17 00:00:00 2001 From: relf Date: Thu, 23 Nov 2023 17:18:54 +0100 Subject: [PATCH] Fix import problem when ConfigSpace not installed --- smt/utils/design_space.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smt/utils/design_space.py b/smt/utils/design_space.py index 33ea4c9df..b03ee0e0b 100644 --- a/smt/utils/design_space.py +++ b/smt/utils/design_space.py @@ -31,6 +31,9 @@ except ImportError: HAS_CONFIG_SPACE = False + class Configuration: + pass + class ConfigurationSpace: pass