Skip to content

Commit 5022546

Browse files
committed
Update
1 parent 5b6eed2 commit 5022546

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Bridges/Constraint/bridges/QuadtoSOCBridge.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ function compute_sparse_sqrt(Q, func, set)
9292
# Then, we want to permute the columns of L'. The rows stay in the same
9393
# order.
9494
return I, p[J], V
95-
catch
95+
catch err
96+
if err isa MOI.AddConstraintNotAllowed
97+
rethrow(err)
98+
end
9699
msg = "There was an error computing a matrix square root"
97100
throw(MOI.UnsupportedConstraint{typeof(func),typeof(set)}(msg))
98101
end

0 commit comments

Comments
 (0)