Unverified Commit 3cd91c2d authored by St. Elmo's avatar St. Elmo
Browse files

fix index error

parent 8959378e
Pipeline #56529 passed with stages
in 8 minutes and 10 seconds
......@@ -26,7 +26,7 @@ gene_product_mass_group_dict(model::GeckoModel, opt_model) =
is_solved(opt_model) ?
Dict(
grp.group_id => dot(
value.(opt_model[:x])[(length(model.columns)+1).+grp.gene_product_idxs],
value.(opt_model[:x])[length(model.columns).+grp.gene_product_idxs],
grp.gene_product_molar_masses,
) for grp in model.coupling_row_mass_group
) : nothing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment