mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
changed fermi weights from np array complex to float in accordance with h5 structure
This commit is contained in:
parent
fc2ce66238
commit
93cf096932
@ -280,7 +280,7 @@ class VaspConverter(ConverterTools):
|
||||
# raise NotImplementedError("Noncollinear calculations are not implemented")
|
||||
# else:
|
||||
hopping = numpy.zeros([n_k, n_spin_blocs, nb_max, nb_max], numpy.complex_)
|
||||
f_weights = numpy.zeros([n_k, n_spin_blocs, nb_max], numpy.complex_)
|
||||
f_weights = numpy.zeros([n_k, n_spin_blocs, nb_max], numpy.float_)
|
||||
band_window = [numpy.zeros((n_k, 2), dtype=int) for isp in range(n_spin_blocs)]
|
||||
n_orbitals = numpy.zeros([n_k, n_spin_blocs], numpy.int)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user