aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/analyze.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/utils/analyze.py')
-rw-r--r--fg21sim/utils/analyze.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/utils/analyze.py b/fg21sim/utils/analyze.py
index b31f7d1..e9ce262 100644
--- a/fg21sim/utils/analyze.py
+++ b/fg21sim/utils/analyze.py
@@ -149,6 +149,6 @@ def loglinfit(x, y,
coef = (np.exp(p[0]), p[1])
perr = np.sqrt(np.diag(pcov))
err = (np.exp(perr[0]), perr[1])
- fun = lambda x: np.exp(_f_poly1(np.log(x), *p))
+ fun = lambda x: np.exp(_f_poly1(np.log(x), *p)) # noqa: E731
return coef, err, fun