Skip to content

Commit ece9265

Browse files
committed
Better error message
1 parent 3212f1a commit ece9265

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
@@ -333,7 +333,7 @@ function build_explicit_observed_function(sys, ts;
333333
eqs_dict = eqs_cache[]
334334
rhs = get(eqs_dict, v, nothing)
335335
if rhs === nothing
336-
error("Observed variables depends on differentiated variable $v, but it's not explicit solved. Fix file an issue if you are sure that the system is valid.")
336+
error("The observed variable $(eq.lhs) depends on the differentiated variable $v, but it's not explicit solved. Fix file an issue if you are sure that the system is valid.")
337337
end
338338
end
339339
empty!(vars)

0 commit comments

Comments
 (0)