Skip to content

Commit

Permalink
Increase test stability
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Giguere committed Apr 22, 2024
1 parent d4103b2 commit cc389c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qutip/tests/solver/test_stochastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def test_run_from_experiment_close(method, heterodyne):
a = destroy(N)
sc_ops = [a, a @ a + (a @ a).dag()]
psi0 = basis(N, N-1)
tlist = np.linspace(0, 0.1, 101)
tlist = np.linspace(0, 0.1, 251)
options = {
"store_measurement": "start",
"dt": tlist[1],
Expand Down Expand Up @@ -470,10 +470,10 @@ def test_run_from_experiment_open(method, heterodyne):
a = destroy(N)
sc_ops = [a, a.dag() * 0.1]
psi0 = basis(N, N-1)
tlist = np.linspace(0, 1, 101)
tlist = np.linspace(0, 1, 251)
options = {
"store_measurement": "start",
"dt": 0.01,
"dt": tlist[1],
"store_states": True,
"method": method,
}
Expand Down

0 comments on commit cc389c6

Please sign in to comment.