Skip to content

Commit a94221e

Browse files
committed
Remove unnecessary tag in Simulator logp
1 parent 8c7a47a commit a94221e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymc/distributions/simulator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ def logp(cls, value, sim_op, sim_inputs):
247247
# in which case this would not be needed. However, that would have to be
248248
# done for every sampler that may accomodate Simulators
249249
rng = aesara.shared(np.random.default_rng())
250-
rng.tag.is_rng = True
251-
252250
# Create a new simulatorRV with identical inputs as the original one
253251
sim_value = sim_op.make_node(rng, *sim_inputs[1:]).default_output()
254252
sim_value.name = "sim_value"

0 commit comments

Comments
 (0)