Skip to content

Commit

Permalink
revert unrelated changes 4
Browse files Browse the repository at this point in the history
  • Loading branch information
gsuarezr committed Nov 27, 2023
1 parent 5ee816a commit aaa45f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion qutip/solver/heom/bofin_baths.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,4 +980,3 @@ def _calc_chi(self, Nk):
evals = eigvalsh(alpha_p)
chi = [-2. / val for val in evals[0: Nk - 1]]
return chi

3 changes: 2 additions & 1 deletion qutip/solver/heom/bofin_solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ def _grad_next_bosonic(self, he_n, k):

def _grad_next_fermionic(self, he_n, k):
he_fermionic_n = [
i * int(exp.fermionic)
i * int(exp.fermionic)
for i, exp in zip(he_n, self.ados.exponents)
]
n_excite = sum(he_fermionic_n)
Expand Down Expand Up @@ -1323,6 +1323,7 @@ def gather(self):
block indices ``(N, M)`` is placed at position
``[N * block: (N + 1) * block, M * block: (M + 1) * block]``
in the output matrix.
Returns
-------
rhs : :obj:`Data`
Expand Down

0 comments on commit aaa45f1

Please sign in to comment.