Skip to content

Commit

Permalink
Merge pull request #459 from ErikQQY/plot_analytic
Browse files Browse the repository at this point in the history
Throw appropriate error when analytic is not given
  • Loading branch information
ChrisRackauckas authored Jul 30, 2023
2 parents 3106af0 + 9cdba55 commit f549934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/solutions/solution_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ function solplot_vecs_and_labels(dims, vars, plot_timeseries, plott, sol, plot_a
end

if plot_analytic
@assert sol.u_analytic !== Nothing
analytic_plot_vecs = []
for x in vars
tmp = []
Expand Down

0 comments on commit f549934

Please sign in to comment.