Skip to content

Commit

Permalink
Add default to process_idxs
Browse files Browse the repository at this point in the history
  • Loading branch information
alaindanet committed Apr 17, 2023
1 parent b294acc commit a683fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/measures/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ process_idxs(solution; idxs)
Check and sanitize the species indices or names provided (`idxs`). Used in
[`extract_last_timesteps`](@ref) and [`living_species`](@ref).
"""
function process_idxs(solution; idxs)
function process_idxs(solution; idxs = nothing)
sp = get_parameters(solution).network.species

if isnothing(idxs)
Expand Down

0 comments on commit a683fb9

Please sign in to comment.