From 2e9773166285a3171ebb499cbdffb986c1b78985 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Mon, 26 Aug 2024 12:58:52 +0200 Subject: [PATCH] fix BOO7 --- tests/python/test_Solvers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/test_Solvers.py b/tests/python/test_Solvers.py index dde8c850..d295f2df 100644 --- a/tests/python/test_Solvers.py +++ b/tests/python/test_Solvers.py @@ -104,7 +104,7 @@ gradientPerturbations = [] hessianPerturbations = [] -for i in range(0, nTest): +for _ in range(0, nTest): gradientPerturbations.append(rng.random(n) * GRADIENT_PERTURBATION_VARIANCE) hessianPerturbations.append(rng.random((n, n)) * HESSIAN_PERTURBATION_VARIANCE)