Skip to content

Commit

Permalink
Update src/solutions/solution_interface.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Nov 7, 2024
1 parent 769f285 commit 31920bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/solutions/solution_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ indices that can be plotted as continuous variables. This is useful for systems
that store auxiliary variables in the state vector which are not meant to be
used for plotting.
"""
plottable_indices(x) = 1:length(x)
plottable_indices(x:: AbstractArray) = 1:length(x)
plottable_indices(x::Number) = 1

@recipe function f(sol::AbstractTimeseriesSolution;
plot_analytic = false,
Expand Down

0 comments on commit 31920bb

Please sign in to comment.