Skip to content

Commit 16c85c0

Browse files
TorkelEisaacsas
andauthored
Update src/reactionsystem.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent acd244d commit 16c85c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/reactionsystem.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,9 +1251,8 @@ function set_default_metadata(rs::ReactionSystem; default_reaction_metadata = []
12511251
ns_syms = [Symbolics.unwrap(sym) for sym in get_variables(ns_expr)]
12521252
ns_ps = Iterators.filter(ModelingToolkit.isparameter, ns_syms)
12531253
ns_sps = Iterators.filter(Catalyst.isspecies, ns_syms)
1254-
ns_vs = Iterators.filter(
1255-
sym -> !Catalyst.isspecies(sym) &&
1256-
!ModelingToolkit.isparameter(sym), ns_syms)
1254+
ns_vs = Iterators.filter(sym -> !Catalyst.isspecies(sym) &&
1255+
!ModelingToolkit.isparameter(sym), ns_syms)
12571256
# Adds parameters, species, and variables to the `ReactionSystem`.
12581257
@set! rs.ps = union(get_ps(rs), ns_ps)
12591258
sps_new = union(get_species(rs), ns_sps)

0 commit comments

Comments
 (0)