Skip to content

Commit b4560e8

Browse files
TorkelEisaacsas
andauthored
Update src/reaction_network.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent de84a61 commit b4560e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reaction_network.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ function push_reactions!(reactions::Vector{ReactionStruct}, sub_line::ExprValues
656656
for i in 1:maximum(lengs)
657657
# If the `only_use_rate` metadata was not provided, this has to be infered from the arrow used.
658658
metadata_i = get_tup_arg(metadata, i)
659-
if all([arg.args[1] != :only_use_rate for arg in metadata_i.args])
659+
if all(arg -> arg.args[1] != :only_use_rate, metadata_i.args)
660660
push!(metadata_i.args, :(only_use_rate = $(in(arrow, pure_rate_arrows))))
661661
end
662662

0 commit comments

Comments
 (0)