Skip to content

Commit 6f90f83

Browse files
hchen19ricardoV94
authored andcommitted
fix TensorVariable typo in CustomDist
1 parent 65f0b1e commit 6f90f83

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pymc/distributions/distribution.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,12 +1098,12 @@ def dist(
10981098
from pytensor.tensor import TensorVariable
10991099
11001100
def pert(
1101-
low: Tensorvariable,
1102-
peak: Tensorvariable,
1103-
high: Tensorvariable,
1104-
lmbda: Tensorvariable,
1105-
size: Tensorvariable,
1106-
) -> Tensorvariable:
1101+
low: TensorVariable,
1102+
peak: TensorVariable,
1103+
high: TensorVariable,
1104+
lmbda: TensorVariable,
1105+
size: TensorVariable,
1106+
) -> TensorVariable:
11071107
range = (high - low)
11081108
s_alpha = 1 + lmbda * (peak - low) / range
11091109
s_beta = 1 + lmbda * (high - peak) / range

0 commit comments

Comments
 (0)