The patch contains an extra modification unrelated to the bug description:
+ if ( (*pspdata)->l_local < 0 ) (*pspdata)->l_local = 0;
For the record, l_local < 0 should be legal, as some codes use it to specify a choice of the local component that is not simply one of the l-components of the pseudopotentials.
The patch contains an extra modification unrelated to the bug description:
+ if ( (*pspdata)->l_local < 0 ) (*pspdata)->l_local = 0;
For the record, l_local < 0 should be legal, as some codes use it to specify a choice of the local component that is not simply one of the l-components of the pseudopotentials.