We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e9dbb commit 920dd88Copy full SHA for 920dd88
1 file changed
baybe/surrogates/gaussian_process/components/generic.py
@@ -51,7 +51,7 @@ class GPComponentType(Enum):
51
52
def get_types(self) -> tuple[type, ...]:
53
"""Get the accepted BayBE and GPyTorch types for this component."""
54
- types = []
+ types: list[type[GPComponent]] = []
55
56
# Add BayBE type if applicable
57
if self is GPComponentType.KERNEL:
0 commit comments