Skip to content
  • Joseph Weston's avatar
    initialize numpy arrays to zero · baa1561e
    Joseph Weston authored and Christoph Groth's avatar Christoph Groth committed
    Before this commit, if there was a lead for which
    the inter-cell hopping matrix was the zero matrix, then
    kwant.physics.modes() returned arrays with uninitialized memory.
    baa1561e