We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f0b1e commit 6f90f83Copy full SHA for 6f90f83
pymc/distributions/distribution.py
@@ -1098,12 +1098,12 @@ def dist(
1098
from pytensor.tensor import TensorVariable
1099
1100
def pert(
1101
- low: Tensorvariable,
1102
- peak: Tensorvariable,
1103
- high: Tensorvariable,
1104
- lmbda: Tensorvariable,
1105
- size: Tensorvariable,
1106
- ) -> Tensorvariable:
+ low: TensorVariable,
+ peak: TensorVariable,
+ high: TensorVariable,
+ lmbda: TensorVariable,
+ size: TensorVariable,
+ ) -> TensorVariable:
1107
range = (high - low)
1108
s_alpha = 1 + lmbda * (peak - low) / range
1109
s_beta = 1 + lmbda * (high - peak) / range
0 commit comments