Skip to content
Snippets Groups Projects
Commit 2b15f59e authored by Michael Wimmer's avatar Michael Wimmer Committed by Christoph Groth
Browse files

rephrase docstring to be a bit more precise

parent 4d88fdf9
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ def setup_linsys(h_cell, h_hop, tol=1e6, stabilization=None): ...@@ -140,7 +140,7 @@ def setup_linsys(h_cell, h_hop, tol=1e6, stabilization=None):
Hamiltonian isn't invertible. The second element set to `True` forces Hamiltonian isn't invertible. The second element set to `True` forces
Kwant to solve a generalized eigenvalue problem, and not to reduce it Kwant to solve a generalized eigenvalue problem, and not to reduce it
to the regular one. If it is `False`, reduction to a regular problem to the regular one. If it is `False`, reduction to a regular problem
is performed if necessary. is performed if possible.
Returns Returns
------- -------
...@@ -539,7 +539,7 @@ def modes(h_cell, h_hop, tol=1e6, stabilization=None): ...@@ -539,7 +539,7 @@ def modes(h_cell, h_hop, tol=1e6, stabilization=None):
Hamiltonian isn't invertible. The second element set to `True` forces Hamiltonian isn't invertible. The second element set to `True` forces
Kwant to solve a generalized eigenvalue problem, and not to reduce it Kwant to solve a generalized eigenvalue problem, and not to reduce it
to the regular one. If it is `False`, reduction to a regular problem to the regular one. If it is `False`, reduction to a regular problem
is performed if necessary. Selecting the stabilization manually is is performed if possible. Selecting the stabilization manually is
mostly necessary for testing purposes. mostly necessary for testing purposes.
Returns Returns
......
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