Skip to content

Commit

Permalink
Remove type hint workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelosthege authored and ricardoV94 committed Feb 27, 2023
1 parent 7577544 commit 4d1db1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pymc/distributions/shape_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,8 +759,6 @@ def get_support_shape(
for inferred, explicit in zip(inferred_support_shape, support_shape)
]

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


Expand Down

0 comments on commit 4d1db1b

Please sign in to comment.