Skip to content

Commit 69d7250

Browse files
committed
up
1 parent 5b98f80 commit 69d7250

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/expression_utils.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ end
9696

9797
### Generic Expression Handling ###
9898

99-
# Convert an expression that is a vector with symbols that have values assigned using `=` to vector
100-
# where the assignment instead uses pairs (e.g. :([a=1.0, b=2.0])). Used to e.g. convert default
101-
# reaction metadata to a form that can be evaluated as actual code.
99+
# Convert an expression that is a vector with symbols that have values assigned using `=`
100+
# (e.g. :([a=1.0, b=2.0])) to a vector where the assignment instead uses symbols and pairs
101+
# (e.g. :([a=>1.0, b=>2.0])). Used to e.g. convert default reaction metadata to a form that can be
102+
# evaluated as actual code.
102103
function expr_equal_vector_to_pairs(expr_vec)
103104
pair_vector = :([])
104105
foreach(arg -> push!(pair_vector.args, arg.args[1] => arg.args[2]), expr_vec.args)

0 commit comments

Comments
 (0)