From ff692d8df4615307b40a15d8053c59558f8149bc Mon Sep 17 00:00:00 2001 From: Eric Giguere Date: Tue, 20 Aug 2024 11:00:25 -0400 Subject: [PATCH] Lower tol for test unstable on windows --- qutip/tests/solver/test_mesolve.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qutip/tests/solver/test_mesolve.py b/qutip/tests/solver/test_mesolve.py index 4c092f1690..b6d7a0e22a 100644 --- a/qutip/tests/solver/test_mesolve.py +++ b/qutip/tests/solver/test_mesolve.py @@ -208,7 +208,12 @@ def test_mesolve_normalization(self, state_type): H = qutip.Qobj([[1, -0.1j], [-0.1j, 1]]) H = qutip.spre(H) + qutip.spost(H.dag()) # ensure use of MeSolve psi0 = qutip.basis(2, 0) - options = {"normalize_output": True, "progress_bar": None} + options = { + "normalize_output": True, + "progress_bar": None, + "atol": 1e-5, + "nsteps": 1e5, + } if state_type in {"ket", "dm"}: if state_type == "dm":