Skip to content
Snippets Groups Projects
Commit 325a3a04 authored by Christoph Groth's avatar Christoph Groth
Browse files

bugfix: SelfEnergyLead's selfenergy arg may return any arraylike now

parent f728597c
No related branches found
Tags latest-1.1 v1.1.3
No related merge requests found
Pipeline #
......@@ -247,7 +247,7 @@ class SparseSolver(metaclass=abc.ABCMeta):
else:
rhs.append(None)
else:
sigma = lead.selfenergy(energy, args, params=params)
sigma = np.asarray(lead.selfenergy(energy, args, params=params))
lead_info.append(sigma)
coords = np.r_[tuple(slice(offsets[i], offsets[i + 1])
for i in interface)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment