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