From 60961db2d3a115458411b3a42df60b9f6a4e0f2b Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 27 Oct 2019 16:17:15 -0700 Subject: [PATCH] add atol to shut up solver --- meanas/test/test_fdfd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meanas/test/test_fdfd.py b/meanas/test/test_fdfd.py index 05f710d..a00c5e9 100644 --- a/meanas/test/test_fdfd.py +++ b/meanas/test/test_fdfd.py @@ -72,7 +72,7 @@ def sim(request, shape, epsilon, dxes, j_distribution, omega, pec, pmc): j_vec = vec(j_distribution) eps_vec = vec(epsilon) - e_vec = fdfd.solvers.generic(J=j_vec, omega=omega, dxes=dxes, epsilon=eps_vec) + e_vec = fdfd.solvers.generic(J=j_vec, omega=omega, dxes=dxes, epsilon=eps_vec, matrix_solver_opts={'atol': 1e-12}) e = unvec(e_vec, shape[1:]) sim = SimResult(