We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850316a commit 71aec3aCopy full SHA for 71aec3a
src/chemistry_functionality.jl
@@ -61,7 +61,7 @@ function make_compound(expr)
61
isempty(ivs) && (species_expr = insert_independent_variable(species_expr, :(..)))
62
63
# Expression which when evaluated gives a vector with all the ivs of the components.
64
- ivs_get_expr = :(unique(reduce(vcat,[arguments(ModelingToolkit.unwrap(iv)) for iv in $components])))
+ ivs_get_expr = :(unique(reduce(vcat,[arguments(ModelingToolkit.unwrap(comp)) for comp in $components])))
65
66
# Creates the found expressions that will create the compound species.
67
# The `Expr(:escape, :(...))` is required so that the expressions are evaluated in
0 commit comments