Skip to content

Commit

Permalink
Correct type definition for bound_arg_indices
Browse files Browse the repository at this point in the history
Allows optional lower or upper bounds.
  • Loading branch information
thomasaarholt committed Oct 8, 2024
1 parent 7bd35a8 commit 1575243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/distributions/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class BoundedContinuous(Continuous):
"""Base class for bounded continuous distributions"""

# Indices of the arguments that define the lower and upper bounds of the distribution
bound_args_indices: tuple[int, int] | None = None
bound_args_indices: tuple[int | None, int | None] | None = None


@_default_transform.register(PositiveContinuous)
Expand Down

0 comments on commit 1575243

Please sign in to comment.