Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 23, 2024
1 parent d2659d6 commit 2f9de59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[default.extend-words]
SER = "SER"
SER = "SER"
fo = "fo"
2 changes: 1 addition & 1 deletion lib/SimpleNonlinearSolve/src/trust_region.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function dogleg_method!!(cache, J, f, g, Δ)
# Test if the full step is within the trust region
(L2_NORM(δN) Δ) && return δN

# Calcualte Cauchy point, optimum along the steepest descent direction
# Calculate Cauchy point, optimum along the steepest descent direction
@bb δsd .= g
@bb @. δsd *= -1
norm_δsd = L2_NORM(δsd)
Expand Down

0 comments on commit 2f9de59

Please sign in to comment.