Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanvo committed Feb 23, 2024
1 parent 97681ae commit ad668e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyscf/pbc/mp/kmp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ def kernel(mp, mo_energy, mo_coeff, verbose=logger.NOTE, with_t2=WITH_T2):

emp2 /= nkpts

return emp2, t2
if mem_usage > mem_avail:
return emp2, t2, ft2
else:
return emp2, t2


def _init_mp_df_eris(mp):
Expand Down

0 comments on commit ad668e0

Please sign in to comment.