Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE committed Nov 14, 2023
1 parent f210093 commit cf95d0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/registered_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@ function expand_registered_functions(eq::Equation)
end
# If applied to a ReactionSystem, applied function to all Reactions and other Equations, and return updated system.
function expand_registered_functions(rs::ReactionSystem)
@set rs.eqs = [Catalyst.expand_registered_functions(eq) for eq in rs.eqs]
rs = @set rs.eqs = [Catalyst.expand_registered_functions(eq) for eq in rs.eqs]
return @set rs.rxs = [Catalyst.expand_registered_functions(rx) for rx in rs.rxs]
end

0 comments on commit cf95d0c

Please sign in to comment.