Skip to content

correct reported hopping direction in discretizer

Joseph Weston requested to merge jbweston/kwant:discretizer-printing into stable

A hopping '(a, b)' is from 'b' to 'a', so the "direction" is 'a.tag - b.tag'. Even though at this point 'a.tag == (0, 0)', we put the full expression for clarity.

Fixes #173 (closed).

Edited by Joseph Weston

Merge request reports