Skip to content

Commit 033f0cd

Browse files
MasonProtterChrisRackauckas
authored andcommitted
spelling
1 parent 0b0f20d commit 033f0cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/systems/diffeqs/sdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ struct SDESystem <: AbstractODESystem
152152
end
153153
check_equations(equations(cevents), iv)
154154
if is_scalar_noise && neqs isa AbstractMatrix
155-
throw(ArgumentError("Noise equations ill-formed. Recieved a matrix of noise equations of size $(size(neqs)), but `is_scalar_noise` was set to `true`. Scalar noise is only compatible with an `AbstractVector` of noise equations."))
155+
throw(ArgumentError("Noise equations ill-formed. Received a matrix of noise equations of size $(size(neqs)), but `is_scalar_noise` was set to `true`. Scalar noise is only compatible with an `AbstractVector` of noise equations."))
156156
end
157157
end
158158
if checks == true || (checks & CheckUnits) > 0

test/sdesystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ let
684684
@test solve(prob, SOSRI()).retcode == ReturnCode.Success
685685
end
686686

687-
let # test to make sure that scalar noise always recieve the same kicks
687+
let # test to make sure that scalar noise always receive the same kicks
688688
@variables x(t) y(t)
689689
@brownian a
690690
eqs = [D(x) ~ a,
@@ -696,7 +696,7 @@ let # test to make sure that scalar noise always recieve the same kicks
696696
@test sol[end][1] == sol[end][2]
697697
end
698698

699-
let # test that diagonal noise is corrently handled
699+
let # test that diagonal noise is correctly handled
700700
@parameters σ ρ β
701701
@variables x(t) y(t) z(t)
702702
@brownian a b c

0 commit comments

Comments
 (0)