Skip to content

Commit 84759d8

Browse files
committed
Fix typo
1 parent 288a4a0 commit 84759d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/sdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function SDESystem(eqs::Vector{Equation}, noiseeqs::AbstractArray, iv; kwargs...
309309
noiseps = OrderedSet()
310310
collect_vars!(noisedvs, noiseps, noiseeqs, iv)
311311
for dv in noisedvs
312-
var allunknowns || throw(ArgumentError("Variable $dv in noise equations is not an unknown of the system."))
312+
dv allunknowns || throw(ArgumentError("Variable $dv in noise equations is not an unknown of the system."))
313313
end
314314
algevars = setdiff(allunknowns, diffvars)
315315

0 commit comments

Comments
 (0)