We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a613095 commit da30eb0Copy full SHA for da30eb0
src/solutions/solution_interface.jl
@@ -247,7 +247,7 @@ plottable_indices(x::Number) = 1
247
for var in vars
248
tsidxs = union(get_all_timeseries_indexes(sol, var[2]),
249
get_all_timeseries_indexes(sol, var[3]))
250
- if ContinuousTimeseries() in tsidxs
+ if ContinuousTimeseries() in tsidxs || isempty(tsidxs)
251
push!(cont_vars, var)
252
else
253
push!(disc_vars, (var..., only(tsidxs)))
0 commit comments