aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-02-25 00:01:15 +0800
committerAaron LI <aly@aaronly.me>2019-02-25 00:01:15 +0800
commit073bbb786cbf598016b64df8ec0e59160dcc2931 (patch)
tree31b7427e3b63248c2c7998ef46954133e3ce373d /fg21sim
parenta7bce1d09f29887e01ade221f710651a54fe9b9e (diff)
downloadfg21sim-073bbb786cbf598016b64df8ec0e59160dcc2931.tar.bz2
utils/analyze: PEP8 fix
Diffstat (limited to 'fg21sim')
-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