Skip to content

Commit

Permalink
import numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Apr 16, 2018
1 parent d83e823 commit 782f104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyscf/cc/ccsd_t_rdm_slow.py
Expand Up @@ -167,5 +167,5 @@ def r6(w):
h1 = reduce(numpy.dot, (mf.mo_coeff.T, mf.get_hcore(), mf.mo_coeff))
e3 =(numpy.einsum('ij,ji->', h1, dm1)
+ numpy.einsum('ijkl,ijkl->', eri_mo, dm2)*.5 + mf.mol.energy_nuc())
print e3ref, e3-(mf.e_tot+ecc)
print(e3ref, e3-(mf.e_tot+ecc))

2 changes: 1 addition & 1 deletion pyscf/scf/addons.py
Expand Up @@ -328,7 +328,7 @@ def remove_linear_dep_(mf, threshold=1e-8, lindep=1e-14):
dependence issue.
'''
s = mf.get_ovlp()
cond = np.max(lib.cond(s))
cond = numpy.max(lib.cond(s))
if cond < 1./lindep:
return mf

Expand Down

0 comments on commit 782f104

Please sign in to comment.