Fix incorrect number of excited electrons in TD output with spin-polarization
Description
Fixed incorrect rigid shift of 0.5 electrons in the calculated number of excited electrons (TDOutput = n_excited_el) with spin-polarization. Fixes #91 (closed).
News snippet
Fixed incorrect number of excited electrons in TD output with spin-polarization.
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.
Edited by Micael Oliveira