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)
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)