Bugfix in oct-dielectric function
Description
When the variable GaugeVectorField is not present, the fatal error message was not displayed, as the variable infile was uninitialized. As a result, NaN was obtained in the dielectric_function file.
News snippet
Fix a bug in an error message for oct-dielectric_function.
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.