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

check ABC of system in wave_function

parent 83c53013
No related branches found
No related tags found
No related merge requests found
......@@ -545,6 +545,7 @@ class SparseSolver(object):
class WaveFunction(object):
def __init__(self, solver, sys, energy, args, check_hermiticity):
ensure_isinstance(sys, system.System)
for lead in sys.leads:
if not hasattr(lead, 'modes'):
# TODO: figure out what to do with self-energies.
......
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