Skip to content

Commit

Permalink
Update pymc/logprob/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ricardo Vieira <[email protected]>
  • Loading branch information
aerubanov and ricardoV94 authored Dec 1, 2023
1 parent b8fde47 commit 0c80a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/logprob/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def transform(self, node: Apply) -> Union[Variable, str, None]:
"""
raise NotImplementedError

def rewrite(self, node: Union[Scan, OpFromGraph]):
def apply(self, fgraph: FunctionGraph, node: Union[Scan, OpFromGraph]):
if not isinstance(node.op, (Scan, OpFromGraph)):
raise TypeError("Expected Scan or OpFromGraph in InernerGraphRewriter")
node_inputs, node_outputs = node.op.inner_inputs, node.op.inner_outputs
Expand Down

0 comments on commit 0c80a68

Please sign in to comment.