Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
typos CI
  • Loading branch information
ArnoStrouwen committed Dec 15, 2023
commit d111578bdf314700c64fdd51efc32b9f609c1210
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
ignore:
- dependency-name: "crate-ci/typos"
update-types: ["version-update:semver-patch"]
13 changes: 13 additions & 0 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
8 changes: 8 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[default.extend-words]
IIF = "IIF"
extrapolant = "extrapolant"
currate = "currate"
SIE = "SIE"
Numer = "Numer"
resetted = "resetted"
strat = "strat"
2 changes: 1 addition & 1 deletion src/algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ end
SKSROCK(;post_processing=false,eigen_est=nothing) = SKSROCK(post_processing,eigen_est)
"""
TangXiaoSROCK2: S-ROCK Method
Is a fixed step size stabilized expicit method for stiff problems.
Is a fixed step size stabilized explicit method for stiff problems.
Only for Ito problems. Weak order of 2 and strog order of 1.
Has 5 versions with different stability domains which can be used as TangXiaoSROCK2(version_num=i) where i is 1-5. Under Development.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/perform_step/implicit_split_step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ end
integrator.g(gtmp, uprev, p, t)

if alg.symplectic
@.. z = zero(eltype(u)) # Justified by ODE solvers, constrant extrapolation when IM
@.. z = zero(eltype(u)) # Justified by ODE solvers, constant extrapolation when IM
else
@.. z = dt * tmp # linear extrapolation
end
Expand Down
2 changes: 1 addition & 1 deletion src/perform_step/sdirk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ end
##############################################################################

if alg.symplectic
@.. z = zero(eltype(u)) # Justified by ODE solvers, constrant extrapolation when IM
@.. z = zero(eltype(u)) # Justified by ODE solvers, constant extrapolation when IM
else
@.. z = dt*tmp # linear extrapolation
end
Expand Down
4 changes: 2 additions & 2 deletions test/events_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function g(du,u,p,t)
nothing
end

function condtion(u,t,integrator) # Event when event_f(u,p,t,k) == 0
function condition(u,t,integrator) # Event when event_f(u,p,t,k) == 0
u[1]
end

Expand All @@ -18,7 +18,7 @@ function affect_neg!(integrator)
end

# Continuous callback
callback = ContinuousCallback(condtion,affect!,affect_neg!)
callback = ContinuousCallback(condition,affect!,affect_neg!)

u0 = [50.0,0.0]
tspan = (0.0,15.0)
Expand Down
2 changes: 1 addition & 1 deletion test/sde/sde_additive_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sol3 = solve(prob,SKenCarp(),dt=1/2^(3),adaptive=false)

prob = prob_sde_additive

# Test error in stepping and seeding simultaniously
# Test error in stepping and seeding simultaneously
sol = solve(prob,SRA(StochasticDiffEq.constructSOSRA()),dt=1/2^(3),seed=1)
sol2 = solve(prob,SOSRA(),dt=1/2^(3),seed=1)
@test sol.t ≈ sol2.t
Expand Down