Skip to content

Commit

Permalink
fix typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakoff committed Nov 6, 2024
1 parent 551bb79 commit 02bd639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions green_mbtools/mint/seet_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_input_data(self):
last_gf2_iter = gf2_inp_data["iter"][()]
S1 = gf2_inp_data["iter{}/Sigma1".format(last_gf2_iter)][()].view(np.complex128)
if len(S1.shape) == 5:
S1 = S1.reshape(F.shape[:-1])
S1 = S1.reshape(S1.shape[:-1])

gf2_inp_data = h5py.File(self.args.gf2_input_file, "r")
last_gf2_iter = gf2_inp_data["iter"][()]
Expand All @@ -72,7 +72,7 @@ def get_input_data(self):
else :
dm = - G_tau[G_tau.shape[0]-1,:].reshape(G_tau.shape[1:])
dm_s = np.copy(dm)
dm = dm[0] + dm[1]
dm = (dm[0] + dm[1])*0.5
gf2_inp_data.close()

e_nuc = inp_data["HF/Energy_nuc"][()]
Expand Down

0 comments on commit 02bd639

Please sign in to comment.