Skip to content

Commit 74081b2

Browse files
committed
Simplify type hint
1 parent 9bf75f0 commit 74081b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pymc/distributions/timeseries.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ def dist(
281281
# return moment
282282

283283
def logp(
284-
value: Union[at.TensorVariable, at.TensorConstant],
285-
mu: Union[at.TensorVariable, at.TensorConstant],
286-
sigma: Union[at.TensorVariable, at.TensorConstant],
287-
init: Union[at.TensorVariable, at.TensorConstant],
284+
value: at.Variable,
285+
mu: at.Variable,
286+
sigma: at.Variable,
287+
init: at.Variable,
288288
) -> at.TensorVariable:
289289
"""
290290
Calculate log-probability of Gaussian Random Walk distribution at specified value.

0 commit comments

Comments
 (0)