mirror of
https://github.com/triqs/dft_tools
synced 2025-04-26 10:14:53 +02:00

In the previous commit the calculation of 'nelect' was implemented incorrectly. The sum over k-points must also contain k-weights and a spin factor (2.0 for ns = 1). The calculation of 'nelect' is now implemented as a separate method of ProjectorGroup.