Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Feb 27, 2023
1 parent 3e2179d commit 1d5ba9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/manual/complex.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ julia> import LinearAlgebra
julia> H = LinearAlgebra.Hermitian([x[1] 1im; -1im -x[2]])
2×2 LinearAlgebra.Hermitian{GenericAffExpr{ComplexF64, VariableRef}, Matrix{GenericAffExpr{ComplexF64, VariableRef}}}:
x[1] (0.0 + 1.0im)
(0.0 - 1.0im) (-1.0 + 0.0im) x[2]
(0.0 - 1.0im) (-1.0 - 0.0im) x[2]
julia> @constraint(model, H in HermitianPSDCone())
[x[1] (0.0 + 1.0im);
(0.0 - 1.0im) (-1.0 + 0.0im) x[2]] ∈ HermitianPSDCone()
(0.0 - 1.0im) (-1.0 - 0.0im) x[2]] ∈ HermitianPSDCone()
```

0 comments on commit 1d5ba9e

Please sign in to comment.