Skip to content

Commit caf8eab

Browse files
authored
Use MOI.Utilities.num_rows (#153)
1 parent 5c13cad commit caf8eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MOI_wrapper/MOI_wrapper.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function _optimize!(dest::Optimizer, src::OptimizerCache)
258258
A.n,
259259
G.m,
260260
A.m,
261-
Gh.sets.num_rows[1],
261+
MOI.Utilities.num_rows(Gh.sets, MOI.Nonnegatives),
262262
length(q),
263263
q,
264264
num_exponential,

0 commit comments

Comments
 (0)