Skip to content

Commit

Permalink
fix(space): Categorical domain is is_categorical=True (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman authored Feb 13, 2025
1 parent 72068ff commit 05ae7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neps/space/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def __post_init__(self) -> None:
)

self.center = self.choices[0]
self.domain = Domain.indices(len(self.choices))
self.domain = Domain.indices(len(self.choices), is_categorical=True)


@dataclass
Expand Down

0 comments on commit 05ae7e2

Please sign in to comment.