Skip to content

Commit 02e3143

Browse files
authored
Update src/dcp.jl
1 parent 99eaebf commit 02e3143

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dcp.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# http://web.stanford.edu/~boyd/papers/disc_cvx_prog.html
1616
#############################################################################
1717

18+
# This is a subtype of MOI.UnsupportedError so that non-DCP
19+
# errors trigger the correct paths in MOI.Test for Convex.Optimizer.
1820
struct DCPViolationError <: MOI.UnsupportedError end
1921

2022
function Base.showerror(io::IO, ::DCPViolationError)

0 commit comments

Comments
 (0)