Skip to content

Commit

Permalink
corrected test for data-model
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHebing committed Jan 28, 2025
1 parent 2ea59fe commit 75319c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bofire/data_models/objectives/desirabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def validate_peak_position(self):


class InRangeDesirability(DesirabilityObjective):
type: Literal["InBoundsDesirability"] = "InBoundsDesirability" # type: ignore
type: Literal["InRangeDesirability"] = "InRangeDesirability" # type: ignore

def call_numpy(
self,
Expand Down
2 changes: 1 addition & 1 deletion tests/bofire/data_models/specs/objectives.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@
specs.add_valid(
objectives.InRangeDesirability,
lambda: {
"bounds": [0.0, 10.0],
"bounds": [0.0, 10.0], "clip": True, "w": 1.0,
},
)

0 comments on commit 75319c0

Please sign in to comment.