quantum-kite / kite

KITE Quantum Transport Software
https://quantum-kite.com
GNU Lesser General Public License v3.0
28 stars 19 forks source link

Fixes compilation warnings #4

Closed ngaro closed 4 years ago

ngaro commented 4 years ago

This is only a tiny cleanup, the code will work exactly the same as before.

The only exception: I make the assumption that the number of frequencies (N_omegas) can not be below 0.

After a quick look at the code i saw multiple other things that can't possibly be correct, but I'll have a talk with Misa before sending a extra pull request for those other things (because some of them will make tiny changes in the behavior of the program: They remove things that look like bugs.)

Just like the other pull requests, this one also only affects KITE-tools, not KITEx (yet)

ngaro commented 4 years ago

Done for KITEx