Modified density matrix construction for spinavg
Modified density matrix construction for spinavg

Core density matrix now works for the spin-averaged density matrices, which are appropriate for non-spin-polarized open-shell DFT. Everything else (i.e. RHF) should still work fine with this.

Konjkov/pyquante2,Konjkov/pyquante2,Konjkov/pyquante2