diff --git a/pyscf/cc/gccsd_t.py b/pyscf/cc/gccsd_t.py index 3a16f4a1b7..75382d3665 100644 --- a/pyscf/cc/gccsd_t.py +++ b/pyscf/cc/gccsd_t.py @@ -91,7 +91,7 @@ def get_wv(a, b, c): numpy.random.seed(1) mf.mo_coeff = numpy.random.random(mf.mo_coeff.shape) - .9 - mycc = cc.GCCSD(scf.addons.convert_to_ghf()) + mycc = cc.GCCSD(mf.to_ghf()) eris = mycc.ao2mo() nocc = 10 nvir = mol.nao_nr() * 2 - nocc