Merge pull request #941 from jeffhammond/tce_ccsd_e_fix_uninit

fix uninitialized variable issue in TCE CCSD energy
This commit is contained in:
NWChem: Open Source High-Performance Computational Chemistry 2024-01-20 10:45:40 -08:00 committed by GitHub
commit b5639ec76c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -441,6 +441,7 @@ C i0 ( )_vt + = 1/4 * Sum ( h3 h4 p1 p2 ) * t ( p1 p2 h3 h4 )_t * v ( h3 h4
nprocs = GA_NNODES()
count = 0
next = NXTASK(nprocs, 1)
e_c = 0.0d0
IF (next.eq.count) THEN
IF (0 .eq. ieor(irrep_v,irrep_t)) THEN
DO p1b = noab+1,noab+nvab