Skip to content

Commit

Permalink
fix smt-dse
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Oct 22, 2024
1 parent 80c5434 commit 964ce8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions smt/applications/tests/test_mixed_integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,8 +806,9 @@ def run_hierarchical_design_space_example(self):
IntegerVariable,
OrdinalVariable,
)

ds = DesignSpace(
from smt_design_space_ext import ConfigSpaceDesignSpaceImpl

ds = ConfigSpaceDesignSpaceImpl(
[
CategoricalVariable(
["A", "B"]
Expand Down
2 changes: 1 addition & 1 deletion smt/design_space/design_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def __repr__(self):

def raise_config_space():
raise RuntimeError(
"Dependencies are not installed, please install smt_design_space."
"Dependencies are not installed, please install smt_design_space_ext."
)


Expand Down

0 comments on commit 964ce8a

Please sign in to comment.