3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-07 06:33:48 +01:00

Corrects bug in dos_wannier_basis

This commit is contained in:
Manuel Zingl 2015-04-14 14:45:32 +02:00
parent 74a19b72df
commit 8d0bc912af

View File

@ -91,8 +91,8 @@ class SumkDFTTools(SumkDFT):
# Collect data from mpi:
for bname in DOS:
DOS[bname] = mpi.all_reduce(mpi.world, DOS[bname], lambda x,y : x+y)
for ish in range(self.n_shells):
G_loc[ish] << mpi.all_reduce(mpi.world, G_loc[ish], lambda x,y : x+y)
for icrsh in range(self.n_corr_shells):
G_loc[icrsh] << mpi.all_reduce(mpi.world, G_loc[icrsh], lambda x,y : x+y)
mpi.barrier()
# Symmetrize and rotate to local coord. system if needed: