From 93cf0969325edab140179702225e528a0e6155ca Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Tue, 24 Nov 2020 16:35:27 -0500 Subject: [PATCH] changed fermi weights from np array complex to float in accordance with h5 structure --- python/triqs_dft_tools/converters/vasp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/triqs_dft_tools/converters/vasp.py b/python/triqs_dft_tools/converters/vasp.py index 6aaf521e..d3aca83b 100644 --- a/python/triqs_dft_tools/converters/vasp.py +++ b/python/triqs_dft_tools/converters/vasp.py @@ -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)