File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,7 @@ function MOI.add_constraint(
213213) where {T}
214214 constraint = Constraint (_expr (model, func), set)
215215 if vexity (constraint) == Convex. NotDcp ()
216- msg =
217- " \n\n [Convex.jl] The constraint is not convex according to the axioms of Disciplined Convex Programming.\n\n "
216+ msg = " \n\n [Convex.jl] The constraint is not convex according to the axioms of Disciplined Convex Programming.\n\n "
218217 throw (MOI. AddConstraintNotAllowed {typeof(func),typeof(set)} (msg))
219218 end
220219 add_constraint! (model. context, constraint)
@@ -246,8 +245,7 @@ function MOI.set(
246245 vex = - vex
247246 end
248247 if vex in (Convex. NotDcp (), Convex. ConcaveVexity ())
249- msg =
250- " \n\n [Convex.jl] The objective is not convex according to the axioms of Disciplined Convex Programming.\n\n "
248+ msg = " \n\n [Convex.jl] The objective is not convex according to the axioms of Disciplined Convex Programming.\n\n "
251249 throw (MOI. SetAttributeNotAllowed (attr, msg))
252250 end
253251 cfp = conic_form! (model. context, obj_fn)
You can’t perform that action at this time.
0 commit comments