From 2b15f59eac2bfe8417439972aa4d9de816e89206 Mon Sep 17 00:00:00 2001 From: Michael Wimmer <wimmer@lorentz.leidenuniv.nl> Date: Mon, 2 Sep 2013 15:46:03 +0200 Subject: [PATCH] rephrase docstring to be a bit more precise --- kwant/physics/leads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kwant/physics/leads.py b/kwant/physics/leads.py index 49b276d..d363450 100644 --- a/kwant/physics/leads.py +++ b/kwant/physics/leads.py @@ -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 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 - is performed if necessary. + is performed if possible. Returns ------- @@ -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 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 - is performed if necessary. Selecting the stabilization manually is + is performed if possible. Selecting the stabilization manually is mostly necessary for testing purposes. Returns -- GitLab