Resolve "An error in band structure unfolding with spin_polarized"
Description
Fix a bug preventing to do spin-polarized bandstructure unfolding.
News snippet
Fix a bug preventing to do spin-polarized bandstructure unfolding.
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.
Closes #551 (closed)