Skip to content

Commit

Permalink
Add towncrier
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericgig committed Dec 9, 2024
1 parent f3a2eae commit f3ee860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changes/2570.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Solver use property to support physic based intgration method.
2 changes: 1 addition & 1 deletion qutip/solver/sode/_noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, noise, tlist, n_sc_ops, heterodyne, is_measurement):
self.t0 = tlist[0]
self.dt = tlist[1] - tlist[0]
self.shape = noise.shape[1:]
self.noise = noise.T[:, np.newaxis, :].copy().astype(np.double)
self.noise = noise.T[:, np.newaxis, :].copy().real.astype(np.double)
self.last_W = np.zeros(self.shape[-1], dtype=float)
self.idx_last_0 = 0
self.is_measurement = is_measurement
Expand Down

0 comments on commit f3ee860

Please sign in to comment.