Skip to content

Commit 6238bff

Browse files
committed
handle changed API of theano.gof.graph.stack_search
1 parent 2824027 commit 6238bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/model_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _expand(node) -> Optional[Iterator[Tensor]]:
6969
else:
7070
return None
7171

72-
stack_search(start=deque([func]), expand=_expand, mode="bfs")
72+
stack_search(nodes=deque([func]), expand=_expand, bfs=True)
7373
return retval
7474

7575
def _filter_parents(self, var, parents) -> Set[VarName]:

0 commit comments

Comments
 (0)