From 7f3358ae64140f6811c2a8c9c887f646f3ff18fb Mon Sep 17 00:00:00 2001 From: Amit Solomon Date: Thu, 18 Jul 2024 15:48:19 -0400 Subject: [PATCH] linter --- src/osqp/tests/nn_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osqp/tests/nn_test.py b/src/osqp/tests/nn_test.py index e6cec035..cc3d0dd5 100644 --- a/src/osqp/tests/nn_test.py +++ b/src/osqp/tests/nn_test.py @@ -11,7 +11,7 @@ ATOL = 1e-2 RTOL = 1e-4 -EPS = 1e-5 +EPS = 1e-5 cuda = False verbose = True @@ -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() @@ -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()