Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxtax committed Jan 19, 2025
1 parent a592208 commit e33e517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/sampling/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def sample_posterior_predictive(
trace_coords.update({str(k): v.data for k, v in _constant_data.coords.items()})
constant_data.update({str(k): v.data for k, v in _constant_data.items()})
idata = trace
observed_data = trace["observed_data"]
observed_data = trace.get("observed_data", None)
trace = trace["posterior"]
if isinstance(trace, xarray.Dataset):
trace_coords.update({str(k): v.data for k, v in trace.coords.items()})
Expand Down

0 comments on commit e33e517

Please sign in to comment.