From 7d0c3533045d14cd7985eb1c6589d509efe7e3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20P=2E=20D=C3=BCrholt?= Date: Wed, 27 Mar 2024 10:55:04 +0100 Subject: [PATCH] remove `math.inf` from data model (#387) --- bofire/data_models/features/continuous.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bofire/data_models/features/continuous.py b/bofire/data_models/features/continuous.py index 52a773afa..e573527eb 100644 --- a/bofire/data_models/features/continuous.py +++ b/bofire/data_models/features/continuous.py @@ -24,7 +24,7 @@ class ContinuousInput(NumericalInput): type: Literal["ContinuousInput"] = "ContinuousInput" order_id: ClassVar[int] = 1 - bounds: Bounds + bounds: Tuple[float, float] local_relative_bounds: Optional[ Tuple[Annotated[float, Field(gt=0)], Annotated[float, Field(gt=0)]] ] = None