Skip to content

Commit cfcd259

Browse files
authored
Fix error message
Fix #1831
1 parent 59963d6 commit cfcd259

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)