File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
baybe/recommenders/pure/bayesian Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ def _recommend_continuous_without_cardinality_constraints(
355
355
raise IncompatibilityError (
356
356
"The ``sequential_continuous`` flag is set to ``False``, but "
357
357
"interpoint constraints are present in the continuous subspace. This is"
358
- " not supported. Please set ' sequential_continuous' to True."
358
+ " not supported. Please set `` sequential_continuous`` to `` True`` ."
359
359
)
360
360
361
361
# NOTE: The explicit `or None` conversion is added as an additional safety net
@@ -421,7 +421,7 @@ def _recommend_hybrid(
421
421
# TODO Defining interpoint constraints for hybrid spaces is probably not
422
422
# that hard, but should be investigated in a follow up PR.
423
423
if searchspace .continuous .has_interpoint_constraints :
424
- raise NotImplementedError (
424
+ raise IncompatibilityError (
425
425
"Interpoint constraints are not available in hybrid spaces."
426
426
)
427
427
if (
You can’t perform that action at this time.
0 commit comments