Skip to content

Commit

Permalink
follow the change in solver interface
Browse files Browse the repository at this point in the history
  • Loading branch information
j-otsuki committed Aug 30, 2022
1 parent 9aa079c commit 4cb6d36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dcore/impurity_solvers/jo_cthyb_seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def _read(key):
delta_iw_diagonal = numpy.einsum("wii->wi", delta_iw)
assert delta_iw_diagonal.shape == (self.n_iw, self.n_orb * 2)

with open('./delta.in', 'w') as f:
with open('./delta_w.in', 'w') as f:
for iw in range(self.n_iw):
for f1 in range(self.n_flavors):
val = delta_iw_diagonal[iw, f1]
Expand Down Expand Up @@ -294,7 +294,7 @@ def _read(key):
params_solver = OrderedDict()
params_solver['model'] = {
'n_s' : self.n_orb*2,
'file_Delta' : 'delta.in',
'file_Delta_iw' : 'delta_w.in',
'file_Vsq' : 'vsq.in',
'file_U' : 'u.in',
'file_ef' : 'ef.in',
Expand Down

0 comments on commit 4cb6d36

Please sign in to comment.