Skip to content

Commit f5a028c

Browse files
ricardoV94twiecki
authored andcommitted
Strip observed in prior predictive
1 parent c7af3ff commit f5a028c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/sampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ def sample_prior_predictive(
19731973

19741974
names = get_default_varnames(vars_, include_transformed=False)
19751975

1976-
vars_to_sample = [model[name] for name in names]
1976+
vars_to_sample = [strip_observed(model[name]) for name in names]
19771977
inputs = [i for i in inputvars(vars_to_sample)]
19781978
sampler_fn = aesara.function(
19791979
inputs,

0 commit comments

Comments
 (0)