mirror of
https://github.com/triqs/dft_tools
synced 2025-01-05 02:48:47 +01:00
Fix in reading in sumk_lda
This commit is contained in:
parent
948db7744f
commit
1e4b103ba7
@ -153,7 +153,7 @@ class SumkLDA:
|
|||||||
else:
|
else:
|
||||||
value_read['%s'%it] = False
|
value_read['%s'%it] = False
|
||||||
else:
|
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
|
subgroup_present = False
|
||||||
value_read = False
|
value_read = False
|
||||||
|
|
||||||
@ -415,7 +415,6 @@ class SumkLDA:
|
|||||||
|
|
||||||
a_list = [a for a,al in self.gf_struct_corr[self.invshellmap[ish]] ]
|
a_list = [a for a,al in self.gf_struct_corr[self.invshellmap[ish]] ]
|
||||||
for a in a_list:
|
for a in a_list:
|
||||||
|
|
||||||
dm = dens_mat[ish][a]
|
dm = dens_mat[ish][a]
|
||||||
dmbool = (abs(dm) > threshold) # gives an index list of entries larger that threshold
|
dmbool = (abs(dm) > threshold) # gives an index list of entries larger that threshold
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user