Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasia-popova committed Feb 21, 2024
1 parent 8cfc46a commit 8532881
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/plots/P3ShapeSolverPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PSP3 = CMP.ParametersP3
p3 = CMP.ParametersP3(FT)

function guess_value::FT, p1::FT, p2::FT, q1::FT, q2::FT)
return q1 */p1)^((log(q1) - log(q2)) / (log(p1) - log(p2)))
return q1 * / p1)^((log(q1) - log(q2)) / (log(p1) - log(p2)))
end

function lambda_guess_plot(F_r::FT, ρ_r::FT) where {FT}
Expand Down
3 changes: 2 additions & 1 deletion src/P3Scheme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ function get_bounds(
ql = q_gamma(p3, F_r, N / N̂, log(left), th)
qr = q_gamma(p3, F_r, N / N̂, log(right), th)

guess = left * (q / (N̂ * ql))^((log(right) - log(left)) / (log(qr) - log(ql)))
guess =
left * (q / (N̂ * ql))^((log(right) - log(left)) / (log(qr) - log(ql)))

max = log(guess * exp(radius))
min = log(guess)
Expand Down

0 comments on commit 8532881

Please sign in to comment.