From 12eb582b1988daf1e5764da5e21aa5662b89ac12 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sat, 16 Dec 2023 20:49:28 +0100 Subject: [PATCH] suffer with subtypes --- docs/src/metabolic-modeling.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/metabolic-modeling.jl b/docs/src/metabolic-modeling.jl index 628d554..0feaaa9 100644 --- a/docs/src/metabolic-modeling.jl +++ b/docs/src/metabolic-modeling.jl @@ -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))