We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c2fc26 commit 1dda643Copy full SHA for 1dda643
pytensor/tensor/rewriting/elemwise.py
@@ -664,8 +664,6 @@ def variables_depend_on(
664
depend_on,
665
stop_search_at=None,
666
) -> bool:
667
- # We can stop search at any variable that comes topologically before depend_on
668
- # As those can't logically be dependents anymore
669
return any(
670
a in depend_on
671
for a in ancestors(
0 commit comments