Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith authored Nov 7, 2023
1 parent 05a53fb commit 52565de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function DiffEqBase.__init(prob::Union{DiffEqBase.AbstractODEProblem,
all(isequal(0), prob.f.mass_matrix)
# technically this should also warn for zero operators but those are hard to check for
alg isa Union{Rosenbrock23, Rosenbrock32} && error("Rosenbrock23 and Rosenbrock32 require at least one differential variable to produce valid solutions")
if dense && verbose
if (dense || !isempty(saveat)) && verbose
@warn("Rosenbrock methods on equations without differential states do not bound the error on interpolations.")
end
end
Expand Down

0 comments on commit 52565de

Please sign in to comment.