From 5380ffdbbad41ecd3186cb0a1aa7b9b7f4a428b9 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 17 Jan 2024 18:12:43 +0100 Subject: [PATCH] name stuff --- src/builders/enzymes.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/builders/enzymes.jl b/src/builders/enzymes.jl index 2ec99cf08..c6375c8fd 100644 --- a/src/builders/enzymes.jl +++ b/src/builders/enzymes.jl @@ -102,10 +102,8 @@ function gene_product_isozyme_constraints( if haskey(res, gp) res[gp].value += i.value * stoi else - res[gp] = C.Constraint( - i.value * stoi - gene_product_amounts[gp].value, - 0.0, - ) + res[gp] = + equal_value_constraint(i.value * stoi, gene_product_amounts[gp]) end end end