Skip to content

Commit

Permalink
add more naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsKue committed Oct 22, 2024
1 parent 2a26a1a commit 7054d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bayesflow/data_adapters/transforms/constrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(
raise ValueError("The lower bound must be strictly less than the upper bound.")

match method:
case "default" | "sigmoid" | "logit":
case "default" | "sigmoid" | "expit" | "logit":

def constrain(x):
return (upper - lower) * sigmoid(x) + lower
Expand Down

0 comments on commit 7054d6f

Please sign in to comment.