Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvallat committed May 25, 2024
1 parent d21ea0c commit e906d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pingouin/bayesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def fun(g, t, n, r, df):

# JZS Bayes factor calculation: eq. 1 in Rouder et al. (2009)
integr = quad(fun, 0, np.inf, args=(t, n, r, df))[0]
with np.errstate(divide='ignore'):
with np.errstate(divide="ignore"):
bf10 = 1 / ((1 + t**2 / df) ** (-(df + 1) / 2) / integr)

# Tail
Expand Down

0 comments on commit e906d0e

Please sign in to comment.