Skip to content

Commit

Permalink
Make zip strict in apply_function_over_dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 authored Aug 29, 2024
1 parent d313012 commit 376d76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/backends/arviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def apply_function_over_dataset(
for idx in indices:
out = fn(posterior_pts[idx])
fn.f.trust_input = True # If we arrive here the dtypes are valid
for var_name, val in zip(output_var_names, out):
for var_name, val in zip(output_var_names, out, strict=True):
out_dict.insert(var_name, val, idx)

progress.advance(task)
Expand Down

0 comments on commit 376d76c

Please sign in to comment.