Skip to content

Commit

Permalink
Support 1.4 +
Browse files Browse the repository at this point in the history
  • Loading branch information
phschiele committed Nov 9, 2023
1 parent f485eee commit a48ccc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dsp/cvxpy_integration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from cvxpy import Expression, Problem
from cvxpy.reductions.dcp2cone.atom_canonicalizers import CANON_METHODS

try:
from cvxpy.reductions.dcp2cone.canonicalizers import CANON_METHODS
except ModuleNotFoundError:
from cvxpy.reductions.dcp2cone.atom_canonicalizers import CANON_METHODS

from dsp.problem import is_dsp
from dsp.saddle_extremum import conjugate, saddle_max, saddle_min
Expand Down

0 comments on commit a48ccc1

Please sign in to comment.