Skip to content
Snippets Groups Projects
Forked from kwant / kwant
Source project has a limited visibility.
Christoph Groth's avatar
Christoph Groth authored
When System.parameters was introduced, we thought it would be a good idea to
also use this new attribute.  The plan was to check in hamiltonian_submatrix()
whether any unneeded parameters are provided by the user.  This turned out to
be impossible, so the only check that remained was whether all the necessary
parameters are indeed provided.  However, this check is not necessary, because
the 'hamiltonian' method is in any way obliged to signal an error when it does
not obtain the necessary parameters.
2d3c51ad
History
Name Last commit Last update
..