Skip to content

Commit 850316a

Browse files
committed
improve a code comment.
1 parent e5c2070 commit 850316a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chemistry_functionality.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ function make_compounds(expr)
123123
# Creates an empty block containing the output call.
124124
compound_declarations = Expr(:block)
125125

126-
# Creates a compound creation set of lines (4 in total) for each compound line in expr.
127-
# Loops through all 4x[Number of compounds] lines and add them to compound_declarations.
126+
# For each compound in `expr`, creates the set of 7 compound creation lines (using `make_compound`).
127+
# Next, loops through all 7*[Number of compounds] lines and add them to compound_declarations.
128128
compound_calls = [Catalyst.make_compound(line) for line in expr.args]
129129
for compound_call in compound_calls, line in MacroTools.striplines(compound_call).args
130130
push!(compound_declarations.args, line)

0 commit comments

Comments
 (0)