tfrederiksen / inelastica

Python package for eigenchannels, vibrations and inelastic electron transport based on SIESTA/TranSIESTA DFT
https://tfrederiksen.github.io/inelastica
GNU Lesser General Public License v3.0
33 stars 16 forks source link

Fixed 'py2' divisions to integer division #51

Closed jonaslb closed 5 years ago

jonaslb commented 5 years ago

I got some exceptions from indexing while using Inelastica with python3. I fixed these and also everywhere else where I found that divisions were performed on variables that were indices.

tfrederiksen commented 5 years ago

Thanks!