Skip to content

Commit

Permalink
this did not sound right at all
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Jun 8, 2024
1 parent a6adea2 commit 93a4e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/types/MATModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ function coupling_bounds(m::MATModel)
nc = n_coupling_constraints(m)
if _mat_has_squashed_coupling(m.mat)
(
sparse(fill(-Inf, nc)),
sparse(reshape(m.mat["b"], length(m.mat["b"]))[n_reactions(m)+1:end]),
reshape(m.mat["b"], length(m.mat["b"]))[n_reactions(m)+1:end],
reshape(m.mat["b"], length(m.mat["b"]))[n_reactions(m)+1:end],
)
elseif haskey(m.mat, "d")
(
Expand Down

0 comments on commit 93a4e37

Please sign in to comment.