Skip to content
Snippets Groups Projects
Commit baa1561e authored by Joseph Weston's avatar Joseph Weston Committed by Christoph Groth
Browse files

initialize numpy arrays to zero

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.
parent ab437898
No related branches found
No related tags found
No related merge requests found
Loading
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