From f731a61999680457477a2f701695172d2389a14d Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Thu, 18 Jan 2024 12:45:08 +0100 Subject: [PATCH] clean up FVA corners --- src/frontend/variability.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/variability.jl b/src/frontend/variability.jl index a180d5d5c..53c9f2f32 100644 --- a/src/frontend/variability.jl +++ b/src/frontend/variability.jl @@ -38,6 +38,8 @@ function flux_variability_analysis( settings, ) + isnothing(objective_flux) && return nothing + constraint_variability( constraints * :objective_bound^C.Constraint(objective, objective_bound(objective_flux)), @@ -47,3 +49,5 @@ function flux_variability_analysis( workers, ) end + +export flux_variability_analysis