Avoid LCAO NaN for spinors
Description
Making the code to guess the density for spinors more robust, to avoid producing NaNs.
News snippet
Improved numerical stability of the LCAO for spinors.
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.
Edited by Sebastian Ohlmann