Skip to content

Commit 0cadeea

Browse files
authored
Update chemistry_functionality.jl
1 parent d997050 commit 0cadeea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chemistry_functionality.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function make_compound(expr)
8585
# Loops through all components, add the component and the coefficients to the corresponding vectors
8686
# Cannot extract directly using e.g. "getfield.(composition, :reactant)" because then
8787
# we get something like :([:C, :O]), rather than :([C, O]).
88-
composition = Catalyst.recursive_find_reactants!(xpr.args[3], 1,
88+
composition = Catalyst.recursive_find_reactants!(expr.args[3], 1,
8989
Vector{ReactantStruct}(undef, 0))
9090
components = :([]) # Becomes something like :([C, O]).
9191
coefficients = :([]) # Becomes something like :([1, 2]).

0 commit comments

Comments
 (0)