Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitSolomonPrinceton committed Jul 18, 2024
1 parent 496a2aa commit 7f3358a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/osqp/tests/nn_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

ATOL = 1e-2
RTOL = 1e-4
EPS = 1e-5
EPS = 1e-5

cuda = False
verbose = True
Expand Down Expand Up @@ -126,7 +126,7 @@ def test_dl_dP(algebra, solver_type, atol, rtol, decimal_tol):
)

def f(P):
P = P.reshape(n,n)
P = P.reshape(n, n)
P = spa.csc_matrix(P)
model.setup(P, q, A, l, u, solver_type=solver_type, verbose=False)
res = model.solve()
Expand Down Expand Up @@ -158,7 +158,7 @@ def test_dl_dA(algebra, solver_type, atol, rtol, decimal_tol):
)

def f(A):
A = A.reshape((m,n))
A = A.reshape((m, n))
A = spa.csc_matrix(A)
model.setup(P, q, A, l, u, solver_type=solver_type, verbose=False)
res = model.solve()
Expand Down

0 comments on commit 7f3358a

Please sign in to comment.