Skip to content

Commit

Permalink
suffer with subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Dec 16, 2023
1 parent 458add0 commit 12eb582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/metabolic-modeling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Dict(k => v.fluxes.R_BIOMASS_Ecoli_core_w_GAM for (k, v) in result.community)
# both dot-access and array-index syntax.

# You can thus, e.g., set a single bound:
c.exchanges.oxygen.bound = (-20, 20)
c.exchanges.oxygen.bound = (-20.0, 20.0)

# ...or rebuild a whole constraint:
c.exchanges.biomass = C.Constraint(c.exchanges.biomass.value, (-20, 20))
Expand Down

0 comments on commit 12eb582

Please sign in to comment.