Skip to content

Commit

Permalink
use the cool new broadcastable stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Jan 5, 2025
1 parent b9c6c3b commit ec71650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ function flux_bounds(m::SBML.Model)::NTuple{2,Vector{Tuple{Float64,String}}}
values(m.reactions),
:lower_bound,
"LOWER_BOUND",
Ref(Parameter(value = -Inf)),
Parameter(value = -Inf),
),
get_bound.(
values(m.reactions),
:upper_bound,
"UPPER_BOUND",
Ref(Parameter(value = Inf)),
Parameter(value = Inf),
),
)
end
Expand Down

0 comments on commit ec71650

Please sign in to comment.