Skip to content

Commit

Permalink
Fix issue 1577
Browse files Browse the repository at this point in the history
  • Loading branch information
xwang862 authored and fishjojo committed Jan 26, 2023
1 parent c0c4dbc commit ee7c5e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyscf/cc/ccsd_t.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ def _sort_eri(mycc, eris, nocc, nvir, vvop, log):
nmo = nocc + nvir

if mol.symmetry:
ovlp = mycc._scf.get_ovlp()
orbsym = symm.addons.label_orb_symm(mol, mol.irrep_id, mol.symm_orb,
eris.mo_coeff, check=False)
eris.mo_coeff, s=ovlp, check=False)
orbsym = numpy.asarray(orbsym, dtype=numpy.int32) % 10
else:
orbsym = numpy.zeros(nmo, dtype=numpy.int32)
Expand Down

0 comments on commit ee7c5e1

Please sign in to comment.