Fix n_excited_el output for spin-polarized calculations
Description
Fix a bug that got introduced in commit 6322b234. This was leading to the wrong number of excited electrons for spin-polarized calculations.
News snippet
Fix n_excited_el output for spin-polarized calculations
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.