Skip to content

Commit 5bf1bb7

Browse files
michaelosthegericardoV94
authored andcommitted
Remove type hint workaround
Was fixed in pymc-devs/pytensor#205
1 parent 5d9f72c commit 5bf1bb7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymc/distributions/shape_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,6 @@ def get_support_shape(
759759
for inferred, explicit in zip(inferred_support_shape, support_shape)
760760
]
761761

762-
# Workaround https://github.com/pymc-devs/pytensor/issues/193 typing bug in stack signature
763-
inferred_support_shape = cast(Sequence[TensorVariable], inferred_support_shape)
764762
return at.stack(inferred_support_shape)
765763

766764

0 commit comments

Comments
 (0)