Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
devmotion and github-actions[bot] authored Nov 4, 2024
1 parent 1a3418c commit 8762089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bijectors/planar_layer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function find_alpha(wt_y::T, wt_u_hat::T, b::T) where {T<:Real}
# Solve the root-finding problem
# A value of `κ₁ = 0.2 / (upper - lower)` is suggested
# Ref: https://docs.rs/kurbo/0.11.1/kurbo/common/fn.solve_itp.html
α0 = Roots.find_zero((lower, upper), Roots.ITP(; κ₁ = inv(10 * Δ))) do α
α0 = Roots.find_zero((lower, upper), Roots.ITP(; κ₁=inv(10 * Δ))) do α
return α + wt_u_hat * tanh+ b) - wt_y
end

Expand Down

0 comments on commit 8762089

Please sign in to comment.