Skip to content

Commit

Permalink
change the logic of udh dferi evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
ajz34 committed Jun 1, 2021
1 parent 61d78aa commit bde21a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyscf/dh/udfdh.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,7 @@ def prepare_integral(self):
for σ in α, β:
y = tensors.create("Y_mo_jk" + str(σ), shape=(self.df_jk.get_naoaux(), nmo, nmo), incore=self._incore_Y_mo)
get_cderi_mo(self.df_jk, C[σ], y, max_memory=self.get_memory())
if self.same_aux:
tensors["Y_mo_ri" + str(σ)] = y
else:
if self.eval_pt2:
y = tensors.create("Y_mo_ri" + str(σ), shape=(self.df_ri.get_naoaux(), nmo, nmo), incore=self._incore_Y_mo)
get_cderi_mo(self.df_ri, C[σ], y, max_memory=self.get_memory())
eri_cpks = [None, None, None]
Expand Down

0 comments on commit bde21a6

Please sign in to comment.