Skip to content

Commit 1dda643

Browse files
committed
Revert "smarter variables_depend_on"
This reverts commit 6510319. # Conflicts: # pytensor/tensor/rewriting/elemwise.py
1 parent 6c2fc26 commit 1dda643

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pytensor/tensor/rewriting/elemwise.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,6 @@ def variables_depend_on(
664664
depend_on,
665665
stop_search_at=None,
666666
) -> bool:
667-
# We can stop search at any variable that comes topologically before depend_on
668-
# As those can't logically be dependents anymore
669667
return any(
670668
a in depend_on
671669
for a in ancestors(

0 commit comments

Comments
 (0)