Fix displayed dos.
Description
The calculation of the DOS that is displayed on the screen was not correct in case of kpoint symmetries or zero-weight kpoints.
News snippet
The calculation of the DOS that is displayed on the screen was not correct in case of kpoint symmetries or zero-weight kpoints.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.