Skip to content

Commit 25236cf

Browse files
michaelosthegetwiecki
authored andcommitted
Remove assertion that broke from static shapes
Closes #160
1 parent 2d8ea78 commit 25236cf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytensor/tensor/rewriting/subtensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,6 @@ def movable(i):
11941194
tip = new_add
11951195
for mi in movable_inputs:
11961196
assert o_type.is_super(tip.type)
1197-
assert mi.owner.inputs[0].type.is_super(tip.type)
11981197
tip = mi.owner.op(tip, *mi.owner.inputs[1:])
11991198
# Copy over stacktrace from outputs of the original
12001199
# "movable" operation to the new operation.

0 commit comments

Comments
 (0)