Skip to content

Commit 70d7cf2

Browse files
committed
up
1 parent f4d9b7b commit 70d7cf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/registered_functions.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,6 @@ function expand_registered_functions(eq::Equation)
142142
end
143143
# If applied to a ReactionSystem, applied function to all Reactions and other Equations, and return updated system.
144144
function expand_registered_functions(rs::ReactionSystem)
145-
@set rs.eqs = [Catalyst.expand_registered_functions(eq) for eq in rs.eqs]
145+
rs = @set rs.eqs = [Catalyst.expand_registered_functions(eq) for eq in rs.eqs]
146+
return @set rs.rxs = [Catalyst.expand_registered_functions(rx) for rx in rs.rxs]
146147
end

0 commit comments

Comments
 (0)