mirror of
https://github.com/vale981/hopsflow
synced 2025-03-05 08:51:37 -05:00
fix small bug in bcf fitting
This commit is contained in:
parent
6b00b566b8
commit
154d0f82ad
1 changed files with 2 additions and 1 deletions
|
@ -891,7 +891,8 @@ def fit_α(
|
|||
max_sol = scipy.optimize.minimize(
|
||||
lambda t: -np.abs(α(np.array([t])))[0], [0], bounds=((0, np.inf),)
|
||||
)
|
||||
max = -max_sol.fun[0]
|
||||
|
||||
max = -max_sol.fun
|
||||
t_at_max = max_sol.x[0]
|
||||
|
||||
t_tail = scipy.optimize.newton(
|
||||
|
|
Loading…
Add table
Reference in a new issue