Skip to content

Commit

Permalink
Update test/Bridges/Constraint/complex_norm_infinity.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Apr 9, 2024
1 parent d8346c6 commit 98f3fa9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/Bridges/Constraint/complex_norm_infinity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ end

function test_imag_t()
inner = MOI.Utilities.UniversalFallback(MOI.Utilities.Model{Float64}())
model = MOI.Bridges.Constraint.ComplexNormInfinityToSecondOrderCone{Float64}(inner)
model =
MOI.Bridges.Constraint.ComplexNormInfinityToSecondOrderCone{Float64}(
inner,
)
x = MOI.add_variables(model, 2)
f_t = (1.0 + 2.0im) * x[1]
f_x = (1.0 + 2.0im) * x[2] + (3.0 + 4.0im)
Expand Down

0 comments on commit 98f3fa9

Please sign in to comment.