Skip to content

Commit 6bcbe29

Browse files
brandonwillardricardoV94
authored andcommitted
Update clone_replace strict keyword name
1 parent 282e516 commit 6bcbe29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pymc/aesaraf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def join_nonshared_inputs(
665665

666666
replace.update(shared)
667667

668-
xs_special = [aesara.clone_replace(x, replace, strict=False) for x in xs]
668+
xs_special = [aesara.clone_replace(x, replace, rebuild_strict=False) for x in xs]
669669
return xs_special, inarray
670670

671671

@@ -693,7 +693,7 @@ def __call__(self, input):
693693
input: TensorVariable
694694
"""
695695
(oldinput,) = inputvars(self.tensor)
696-
return aesara.clone_replace(self.tensor, {oldinput: input}, strict=False)
696+
return aesara.clone_replace(self.tensor, {oldinput: input}, rebuild_strict=False)
697697

698698

699699
class GeneratorOp(Op):

pymc/smc/smc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def _logp_forw(point, out_vars, in_vars, shared):
571571
else:
572572
new_in_vars.append(in_var)
573573

574-
out_vars = clone_replace(out_vars, replace_int_input, strict=False)
574+
out_vars = clone_replace(out_vars, replace_int_input, rebuild_strict=False)
575575
in_vars = new_in_vars
576576

577577
out_list, inarray0 = join_nonshared_inputs(point, out_vars, in_vars, shared)

0 commit comments

Comments
 (0)