mirror of
https://github.com/QuantumPackage/qp2.git
synced 2025-01-02 16:45:38 +01:00
Fixed rPT2 broken in prev commit
This commit is contained in:
parent
b0f85476fe
commit
9f49da3936
@ -835,7 +835,7 @@ subroutine fill_buffer_double(i_generator, sp, h1, h2, bannedOrb, banned, fock_d
|
|||||||
alpha_h_psi = mat(istate, p1, p2)
|
alpha_h_psi = mat(istate, p1, p2)
|
||||||
|
|
||||||
do jstate=1,N_states
|
do jstate=1,N_states
|
||||||
pt2_data % overlap(jstate,istate) += coef(jstate) * alpha_h_psi
|
pt2_data % overlap(jstate,istate) += coef(jstate) * coef(istate)
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
pt2_data % variance(istate) += alpha_h_psi * alpha_h_psi
|
pt2_data % variance(istate) += alpha_h_psi * alpha_h_psi
|
||||||
|
Loading…
Reference in New Issue
Block a user