mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 01:55:56 +01:00
Fix in reading in sumk_lda
This commit is contained in:
parent
948db7744f
commit
1e4b103ba7
@ -153,7 +153,7 @@ class SumkLDA:
|
||||
else:
|
||||
value_read['%s'%it] = False
|
||||
else:
|
||||
mpi.report("Loading failed: No %s subgroup in HDF5!"%subgrp)
|
||||
if (len(things_to_read) != 0): mpi.report("Loading failed: No %s subgroup in HDF5!"%subgrp)
|
||||
subgroup_present = False
|
||||
value_read = False
|
||||
|
||||
@ -415,7 +415,6 @@ class SumkLDA:
|
||||
|
||||
a_list = [a for a,al in self.gf_struct_corr[self.invshellmap[ish]] ]
|
||||
for a in a_list:
|
||||
|
||||
dm = dens_mat[ish][a]
|
||||
dmbool = (abs(dm) > threshold) # gives an index list of entries larger that threshold
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user