Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
OriolAbril committed Dec 19, 2024
1 parent 64a02b5 commit 2a286cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/stats/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ def _ess_sd(ary, relative=False):
ary = np.asarray(ary)
if _not_valid(ary, shape_kwargs=dict(min_draws=4, min_chains=1)):
return np.nan
ary = (ary - ary.mean())**2
ary = (ary - ary.mean()) ** 2
return _ess(_split_chains(ary), relative=relative)


Expand Down

0 comments on commit 2a286cd

Please sign in to comment.