diff options
author | Aaron LI <aly@aaronly.me> | 2019-02-25 00:01:15 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-02-25 00:01:15 +0800 |
commit | 073bbb786cbf598016b64df8ec0e59160dcc2931 (patch) | |
tree | 31b7427e3b63248c2c7998ef46954133e3ce373d /fg21sim | |
parent | a7bce1d09f29887e01ade221f710651a54fe9b9e (diff) | |
download | fg21sim-073bbb786cbf598016b64df8ec0e59160dcc2931.tar.bz2 |
utils/analyze: PEP8 fix
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/utils/analyze.py | 2 |
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 |