Skip to content

Commit

Permalink
Merge pull request #76 from fau-advanced-separations/fix/yamamoto_bad…
Browse files Browse the repository at this point in the history
…_initial_value

Fix bad initial value for Yamamoto method
  • Loading branch information
ronald-jaepel committed Dec 4, 2023
2 parents bdb1fe0 + d428e9e commit 8c25041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CADETProcess/tools/yamamoto.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def yamamoto_wrapper(c_s, nu, k_eq):
return yamamoto_equation(c_s, lambda_, nu, k_eq)

results, pcov = curve_fit(
yamamoto_wrapper, log_c_salt_at_max_M, log_gradient_slope, bounds=bounds
yamamoto_wrapper, log_c_salt_at_max_M, log_gradient_slope, bounds=bounds, p0=(1, 1)
)

return results

0 comments on commit 8c25041

Please sign in to comment.