diff --git a/src/MOI_wrapper.jl b/src/MOI_wrapper.jl index 764d66b..daee7c2 100644 --- a/src/MOI_wrapper.jl +++ b/src/MOI_wrapper.jl @@ -426,7 +426,7 @@ end function vectorize_block(M, blk::Integer, s::Type{MOI.Nonnegatives}) return diag(block(M, blk)) end -function vectorize_block(M::AbstractMatrix{Cdouble}, blk::Integer, s::Type{MOI.PositiveSemidefiniteConeTriangle}) where T +function vectorize_block(M::AbstractMatrix{Cdouble}, blk::Integer, s::Type{MOI.PositiveSemidefiniteConeTriangle}) B = block(M, blk) d = LinearAlgebra.checksquare(B) n = MOI.dimension(MOI.PositiveSemidefiniteConeTriangle(d))