3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-25 22:52:20 +02:00

Do not use deprecated set_from_inverse_fourier

This commit is contained in:
Nils Wentzell 2020-04-08 13:59:56 -04:00
parent 45999d1edc
commit 6cc6cd8b7a
3 changed files with 2 additions and 3 deletions

View File

@ -888,7 +888,7 @@ class SumkDFT(object):
make_copies=False) for g_sh in G]
for ish in range(len(gf)):
for name, g in gf[ish]:
g.set_from_inverse_fourier(G[ish][name])
g.set_from_fourier(G[ish][name])
# keep a GfImTime from the supplied GfImTime
elif all(isinstance(g_sh._first(), GfImTime) for g_sh in G):
gf = G

View File

@ -90,7 +90,7 @@ Gt = BlockGf(name_block_generator = [(name,
known_moments = np.zeros((2,10,10), dtype=np.complex)
known_moments[1,:] = np.eye(10)
Gt['ud'].set_from_inverse_fourier(G['ud'], known_moments)
Gt['ud'].set_from_fourier(G['ud'], known_moments)
G_new = SK.analyse_block_structure_from_gf([Gt])
G_new_symm = G_new[0].copy()

View File

@ -1,4 +1,3 @@
################################################################################
#
# TRIQS: a Toolbox for Research in Interacting Quantum Systems