From e906d0eb77ebe73e75ceec1f20f26ba57cbd9859 Mon Sep 17 00:00:00 2001 From: Raphael Vallat Date: Thu, 4 Apr 2024 21:37:04 +0200 Subject: [PATCH] black --- src/pingouin/bayesian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pingouin/bayesian.py b/src/pingouin/bayesian.py index a0cc24e6..fdcefa4b 100644 --- a/src/pingouin/bayesian.py +++ b/src/pingouin/bayesian.py @@ -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