Skip to content

Commit

Permalink
Update src/chemistry_functionality.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Isaacson <[email protected]>
  • Loading branch information
TorkelE and isaacsas authored Dec 20, 2024
1 parent 9584a4b commit dff5f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chemistry_functionality.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function make_compound(expr)
species_expr = expr.args[2]
species_name, ivs, _, _ = find_varinfo_in_declaration(expr.args[2])

# If no ivs were given, inserts and expression which evaluates to the union of the ivs
# If no ivs were given, inserts an expression which evaluates to the union of the ivs
# for the species the compound depends on.
ivs_get_expr = :(unique(reduce( vcat, [sorted_arguments(ModelingToolkit.unwrap(comp))
for comp in $components])))
Expand Down

0 comments on commit dff5f71

Please sign in to comment.