Skip to content

Commit 488e725

Browse files
committed
Fixes bug with CLARABEL and Clarabel being different
1 parent 8ad51e1 commit 488e725

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

diffcp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.1.3"
1+
__version__ = "1.1.4"
22

33
from diffcp.cone_program import solve_and_derivative, \
44
solve_and_derivative_batch, \

diffcp/cone_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def solve_internal(A, b, c, cone_dict, solve_method=None,
437437
'setupTime': solution['info']['timing']['tsetup'],
438438
'iter': solution['info']['iter'],
439439
'pobj': solution['info']['pcost']}
440-
elif solve_method == "Clarabel":
440+
elif solve_method == "Clarabel" or solve_method == "CLARABEL":
441441
import clarabel
442442
# for now set P to 0
443443
P = sparse.csc_matrix((c.size, c.size))

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "diffcp"
4-
version = "1.1.3"
4+
version = "1.1.4"
55
description = "A library to compute gradients for convex optimization problems"
66
requires-python = ">= 3.10"
77

0 commit comments

Comments
 (0)