Bugfix for CG with complex wavefunctions.
Description
Fix the type of dot, which should be complex for complex wavefunctions.
News snippet
Bugfix for CG with complex wavefunctions.
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.