Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Dec 18, 2024
1 parent ee07c24 commit 56c3f99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Test/test_conic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5826,14 +5826,14 @@ function test_conic_PositiveSemidefiniteConeTriangle_4(
x_primal = MOI.get.(model, MOI.VariablePrimal(), x)
@test (x_primal, ones(T, 3) ./ T(6), config)
y_primal = MOI.get.(model, MOI.VariablePrimal(), y)
@test (y_primal, T[1, -1, 1] ./ T(2) config)
@test (y_primal, T[1, -1, 1] ./ T(2), config)
if _supports(config, MOI.ConstraintDual)
@test MOI.get(model, MOI.DualStatus()) == MOI.FEASIBLE_POINT
x_dual = MOI.get(model, MOI.ConstraintDual(), cx)
@test (x_dual, [1, -1, 1] ./ T(3) config)
@test (x_dual, [1, -1, 1] ./ T(3), config)
y_dual = MOI.get(model, MOI.ConstraintDual(), cy)
@test (y_dual, ones(T, 3) ./ T(3) config)
@test (MOI.get(model, MOI.ConstraintDual(), c1), T(2) / T(3) config)
@test (y_dual, ones(T, 3) ./ T(3), config)
@test (MOI.get(model, MOI.ConstraintDual(), c1), T(2) / T(3), config)
@test (MOI.get(model, MOI.ConstraintDual(), c2), T(1) / T(3), config)
end
return
Expand Down

0 comments on commit 56c3f99

Please sign in to comment.