Skip to content

Commit a628ca1

Browse files
committed
Use MOI.Utilities.num_rows
1 parent cf69d81 commit a628ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MOI_wrapper/MOI_wrapper.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,8 @@ function MOI.optimize!(
384384
P,
385385
Ab.constants.b,
386386
c,
387-
Ab.sets.num_rows[1],
388-
Ab.sets.num_rows[2] - Ab.sets.num_rows[1],
387+
MOI.Utilities.num_rows(Gh.sets, MOI.Zeros),
388+
MOI.Utilities.num_rows(Gh.sets, MOI.Nonnegatives),
389389
Float64[], # # placeholder: bu
390390
Float64[], # # placeholder: bl
391391
_map_sets(MOI.dimension, T, Ab, MOI.SecondOrderCone),

0 commit comments

Comments
 (0)