diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 000000000..599253c8c --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -0,0 +1,13 @@ +name: Spell Check + +on: [pull_request] + +jobs: + typos-check: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v3 + - name: Check spelling + uses: crate-ci/typos@v1.16.23 \ No newline at end of file diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 000000000..d78350bfb --- /dev/null +++ b/.typos.toml @@ -0,0 +1,2 @@ +[default.extend-words] +SER = "SER" \ No newline at end of file diff --git a/src/broyden.jl b/src/broyden.jl index 4db44d308..008ff589d 100644 --- a/src/broyden.jl +++ b/src/broyden.jl @@ -2,7 +2,7 @@ """ GeneralBroyden(; max_resets = 3, linesearch = nothing, reset_tolerance = nothing) -An implementation of `Broyden` with reseting and line search. +An implementation of `Broyden` with resetting and line search. ## Arguments diff --git a/src/lbroyden.jl b/src/lbroyden.jl index ecd098f0e..b000325dc 100644 --- a/src/lbroyden.jl +++ b/src/lbroyden.jl @@ -2,7 +2,7 @@ LimitedMemoryBroyden(; max_resets::Int = 3, linesearch = nothing, threshold::Int = 10, reset_tolerance = nothing) -An implementation of `LimitedMemoryBroyden` with reseting and line search. +An implementation of `LimitedMemoryBroyden` with resetting and line search. ## Arguments diff --git a/src/linesearch.jl b/src/linesearch.jl index d67ac978c..a2514e3a7 100644 --- a/src/linesearch.jl +++ b/src/linesearch.jl @@ -2,7 +2,7 @@ LineSearch(method = nothing, autodiff = nothing, alpha = true) Wrapper over algorithms from -[LineSeaches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic +[LineSearches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic construction of the objective functions for the line search algorithms utilizing automatic differentiation for fast Vector Jacobian Products. diff --git a/test/basictests.jl b/test/basictests.jl index b26db9d5b..3963571da 100644 --- a/test/basictests.jl +++ b/test/basictests.jl @@ -985,7 +985,7 @@ end end end -# Miscelleneous Tests +# Miscellaneous Tests @testset "Custom JVP" begin function F(u::Vector{Float64}, p::Vector{Float64}) Δ = Tridiagonal(-ones(99), 2 * ones(100), -ones(99))