Skip to content

Commit

Permalink
[test] cvxpy.py : ensure matrix and gradient are float64
Browse files Browse the repository at this point in the history
  • Loading branch information
ManifoldFR committed Aug 8, 2024
1 parent 66c4951 commit ded8458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/cvxpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def test_trigger_infeasibility_with_exact_solution_known(self):
def test_one_dim_with_exact_solution_known(self):
print("------------------------ test_one_dim_with_exact_solution_known")
n = 1
H = np.array([[20]])
g = np.array([-10])
H = np.array([[20.0]])
g = np.array([-10.0])
A = None
b = None
C = np.array([[1.0]])
Expand Down

0 comments on commit ded8458

Please sign in to comment.