Skip to content

Commit

Permalink
Lower tol for test unstable on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericgig committed Aug 20, 2024
1 parent ec5ca77 commit ff692d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion qutip/tests/solver/test_mesolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit ff692d8

Please sign in to comment.