mirror of
https://github.com/triqs/dft_tools
synced 2024-12-30 16:15:47 +01:00
bugfix: blocks get added twice
Whenever both G and G^T support a symmetry, the block is added twice. This commit prevents that...
This commit is contained in:
parent
2c6149228a
commit
086573950b
@ -1251,6 +1251,10 @@ class SumkDFT(object):
|
||||
d[block2] = T, False
|
||||
self.deg_shells[ish].append(d)
|
||||
|
||||
# a block was found, break out of the loop
|
||||
break
|
||||
|
||||
|
||||
def density_matrix(self, method='using_gf', beta=40.0):
|
||||
"""Calculate density matrices in one of two ways.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user