Python code from documentation doesn't work
Hello,
I wanted to run the python code example magnetic_texture.py from the documentation page "Computing local quantities: densities and currents" and running the file as-is with Kwant v1.4.1 gives me the following error:
Traceback (most recent call last):
File "magnetic_texture.py", line 221, in <module>
main()
File "magnetic_texture.py", line 120, in main
psi = wf(0)[0]
IndexError: index 0 is out of bounds for axis 0 with size 0
I tried also with Kwant v1.3.3 (both this version and the previous one have been installed from their git tag on a venv folder), I don't know if this problem is specific to my machine.
Edited by Adel Kara Slimane