Skip to content

Commit 657c549

Browse files
Merge pull request #295 from ArnoStrouwen/spellcheck
add spellcheck CI
2 parents a066488 + 69b2f43 commit 657c549

File tree

7 files changed

+20
-5
lines changed

7 files changed

+20
-5
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Spell Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
typos-check:
7+
name: Spell Check with Typos
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions Repository
11+
uses: actions/checkout@v3
12+
- name: Check spelling
13+
uses: crate-ci/[email protected]

.typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-words]
2+
SER = "SER"

docs/src/solvers/NonlinearSystemSolvers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ features, but have a bit of overhead on very small problems.
6464
likely fail.
6565
- `FastShortcutNonlinearPolyalg()`: The default method. A polyalgorithm that mixes fast methods
6666
with fallbacks to robust methods to allow for solving easy problems quickly without sacrificing
67-
robustnes on the hard problems.
67+
robustness on the hard problems.
6868
- `GeneralBroyden()`: Generalization of Broyden's Quasi-Newton Method with Line Search and
6969
Automatic Jacobian Resetting. This is a fast method but unstable when the condition number of
7070
the Jacobian matrix is sufficiently large.

src/broyden.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
GeneralBroyden(; max_resets = 3, linesearch = nothing, reset_tolerance = nothing)
44
5-
An implementation of `Broyden` with reseting and line search.
5+
An implementation of `Broyden` with resetting and line search.
66
77
## Arguments
88

src/lbroyden.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
LimitedMemoryBroyden(; max_resets::Int = 3, linesearch = nothing,
33
threshold::Int = 10, reset_tolerance = nothing)
44
5-
An implementation of `LimitedMemoryBroyden` with reseting and line search.
5+
An implementation of `LimitedMemoryBroyden` with resetting and line search.
66
77
## Arguments
88

src/linesearch.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
LineSearch(method = nothing, autodiff = nothing, alpha = true)
33
44
Wrapper over algorithms from
5-
[LineSeaches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic
5+
[LineSearches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic
66
construction of the objective functions for the line search algorithms utilizing automatic
77
differentiation for fast Vector Jacobian Products.
88

test/basictests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ end
985985
end
986986
end
987987

988-
# Miscelleneous Tests
988+
# Miscellaneous Tests
989989
@testset "Custom JVP" begin
990990
function F(u::Vector{Float64}, p::Vector{Float64})
991991
Δ = Tridiagonal(-ones(99), 2 * ones(100), -ones(99))

0 commit comments

Comments
 (0)