Skip to content

Commit

Permalink
Merge pull request qutip#2516 from Ericgig/misc.numpy2.1_win_issue
Browse files Browse the repository at this point in the history
Fix the failing test with numpy 2.1 on windows
  • Loading branch information
Ericgig authored Aug 20, 2024
2 parents 03487d2 + 81c8e03 commit 070cba5
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 070cba5

Please sign in to comment.