From 2b241a7daa23a272a3a3285f20df155a27018cfe Mon Sep 17 00:00:00 2001 From: Rahul Kumar Date: Sat, 10 Feb 2024 10:06:08 +0530 Subject: [PATCH] solve issue #83: generate_steady_states fail --- dingo/gurobi_based_implementations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dingo/gurobi_based_implementations.py b/dingo/gurobi_based_implementations.py index 787b7e2a..66f10f2c 100644 --- a/dingo/gurobi_based_implementations.py +++ b/dingo/gurobi_based_implementations.py @@ -108,8 +108,8 @@ def fast_fba(lb, ub, S, c): optimum_value = -model.getObjective().getValue() v = model.getVars() - for i in range(n): - optimum_sol.append(v[i].x) + for i in range(n): + optimum_sol.append(v[i].x) optimum_sol = np.asarray(optimum_sol)