Skip to content

Commit

Permalink
update per comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia committed Nov 12, 2022
1 parent b056cb1 commit c16de55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/stats/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@ def weight_predictions(idatas, weights=None):
]

if not all(len_idatas):
raise ValueError("at least one of your idatas has 0 samples")
raise ValueError("At least one of your idatas has 0 samples")

new_samples = (np.min(len_idatas) * weights).astype(int)

Expand Down

0 comments on commit c16de55

Please sign in to comment.