We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f8be3a commit 680d8a1Copy full SHA for 680d8a1
1 file changed
baybe/surrogates/gaussian_process/components/kernel.py
@@ -186,7 +186,7 @@ def __call__(
186
else None
187
)
188
189
- if base_idcs > allowed_base_idcs:
+ if base_idcs is not None and (base_idcs > allowed_base_idcs):
190
raise ValueError(
191
f"The base kernel's 'active_dims' {base_idcs} must be a subset of "
192
f"the non-task indices {allowed_base_idcs}."
0 commit comments