mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
Do not use deprecated set_from_inverse_fourier
This commit is contained in:
parent
45999d1edc
commit
6cc6cd8b7a
@ -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
|
||||
|
@ -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()
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# TRIQS: a Toolbox for Research in Interacting Quantum Systems
|
||||
|
Loading…
Reference in New Issue
Block a user