Skip to content

Commit

Permalink
doctest fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Dec 11, 2023
1 parent d91ccbb commit 3bc7ea6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/numerical/backends/cvxpy_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ cdef class CVXPYBackend:
sage: p.set_objective(b[1] + b[2])
sage: cp = copy(p.get_backend())
sage: cp.solve()
doctest:warning...:
FutureWarning:...
0
sage: cp.get_objective_value() # abs tol 1e-7
6.0
Expand Down

0 comments on commit 3bc7ea6

Please sign in to comment.