Skip to content

Commit 6ea9156

Browse files
authored
Merge pull request #1833 from SciML/YingboMa-patch-1
Fix error message
2 parents 59963d6 + cfcd259 commit 6ea9156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/odesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ function build_explicit_observed_function(sys, ts;
316316
subs[s] = s′
317317
continue
318318
end
319-
throw(ArgumentError("$s is either an observed nor a state variable."))
319+
throw(ArgumentError("$s is neither an observed nor a state variable."))
320320
end
321321
continue
322322
end

0 commit comments

Comments
 (0)