Commit 2a492a7
Centralize sparsediffpy import into _bindings.py (#174)
* Centralize sparsediffpy import into _bindings.py
Move the duplicated try/except import of sparsediffpy from c_problem.py
and converters.py into a single _bindings.py module.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* cleanup fix
* fix import issue
* fix import for c_problem as well
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent ce8fda1 commit 2a492a7
File tree
2 files changed
+2
-17
lines changed- cvxpy/reductions/solvers/nlp_solvers/diff_engine
2 files changed
+2
-17
lines changedLines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 22 | | |
31 | 23 | | |
32 | 24 | | |
| |||
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
| |||
0 commit comments