Skip to content

Commit

Permalink
refactor: format
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Nov 6, 2024
1 parent 683f9d1 commit b3105cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/solutions/save_idxs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ function get_save_idxs_and_saved_subsystem(prob, save_idxs)
if isempty(_save_idxs)
# no states to save
save_idxs = Int[]
elseif !(save_idxs isa AbstractArray) || symbolic_type(save_idxs) != NotSymbolic()
elseif !(save_idxs isa AbstractArray) ||
symbolic_type(save_idxs) != NotSymbolic()
# only a single state to save, and save it as a scalar timeseries instead of
# single-element array
save_idxs = only(_save_idxs)
Expand Down

0 comments on commit b3105cc

Please sign in to comment.