10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-24 06:02:26 +02:00

fixed bug with Enuc in SCF energy

This commit is contained in:
Kevin Gasperich 2020-01-31 12:00:23 -06:00
parent 0b0a7520af
commit 5e83a2a853

View File

@ -160,7 +160,7 @@ BEGIN_PROVIDER [ double precision, SCF_energy ]
integer :: i,j
if (is_periodic) then
complex*16 :: scf_e_tmp
scf_e_tmp = (0.d0,0.d0)
scf_e_tmp = dcmplx(SCF_energy,0.d0)
do j=1,ao_num
do i=1,ao_num
scf_e_tmp += 0.5d0 * ( &