Skip to content

Commit 680d8a1

Browse files
committed
Fix active dimensions validation
1 parent 2f8be3a commit 680d8a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • baybe/surrogates/gaussian_process/components

baybe/surrogates/gaussian_process/components/kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def __call__(
186186
else None
187187
)
188188

189-
if base_idcs > allowed_base_idcs:
189+
if base_idcs is not None and (base_idcs > allowed_base_idcs):
190190
raise ValueError(
191191
f"The base kernel's 'active_dims' {base_idcs} must be a subset of "
192192
f"the non-task indices {allowed_base_idcs}."

0 commit comments

Comments
 (0)