Skip to content

Commit 0cf6a5a

Browse files
committed
formatting
1 parent e4598ce commit 0cf6a5a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/MOI_wrapper/hermitian_complex_psd_cone_bridge.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ function MOI.Utilities.dot_coefficients(
7777
return b
7878
end
7979

80-
function MOI.is_set_dot_scaled(
81-
::Type{ComplexPositiveSemidefiniteConeTriangle})
80+
function MOI.is_set_dot_scaled(::Type{ComplexPositiveSemidefiniteConeTriangle})
8281
return true
8382
end
8483

@@ -149,7 +148,7 @@ function _complex_to_hermitian(func)
149148
for i in 1:side
150149
for j in 1:(i-1)
151150
perm[k_re] = l
152-
perm[k_im] = l+1
151+
perm[k_im] = l + 1
153152
k_re += 1
154153
k_im += 1
155154
l += 2

src/MOI_wrapper/scaled_complex_psd_cone_bridge.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function _complex_to_scs(func)
7474
c += 1
7575
perm[c] = triidx
7676
c += 1
77-
perm[c] = triidx+1
77+
perm[c] = triidx + 1
7878
end
7979
end
8080
return vals[perm]

0 commit comments

Comments
 (0)