Fix basis from states
Description
Fix a condition for the case of a basis constructed from states. This only affect the current at the moment.
News snippet
Minor fix for DFT+U.
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.