From 4847c65b92cd59b9d0954b586c821ad0b7b1bf7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 23 Mar 2023 12:06:38 +0100 Subject: [PATCH] Remove usused method type param --- src/MOI_wrapper.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))