TRIQS / triqs

a Toolbox for Research on Interacting Quantum Systems
https://triqs.github.io
GNU General Public License v3.0
139 stars 72 forks source link

make_gf_from_fourier is missing overload for purely real Gf #877

Closed hmenke closed 1 year ago

hmenke commented 1 year ago

Prerequisites

Description

There are missing overloads for make_gf_from_fourier in case the Green's function is purely real. These seem to be only missing in the Python interface.

Steps to Reproduce

from triqs.gf import MeshImTime, MeshImFreq, BlockGf, make_gf_from_fourier, make_zero_tail
tau_mesh = MeshImTime(beta=1.0, S='Fermion', n_max=61)
iw_mesh = MeshImFreq(beta=1.0, S='Fermion', n_max=10)
gf_struct=[(bl, 1) for bl in ["up", "dn"]]
G0_iw = BlockGf(mesh=iw_mesh, gf_struct=gf_struct)
M_tau = BlockGf(mesh=tau_mesh, gf_struct=gf_struct).real # This is purely real
M_iw = make_gf_from_fourier(M_tau, G0_iw.mesh, make_zero_tail(G0_iw)) # missing overload

Expected behavior: No crash.

Actual behavior:

Traceback (most recent call last):
  File "dmft_test.py", line 8, in <module>
    M_iw = make_gf_from_fourier(M_tau, G0_iw.mesh, make_zero_tail(G0_iw)) # missing overload
TypeError: Error: no suitable C++ overload found in implementation of function gf_factories.make_gf_from_fourier

make_gf_from_fourier(gf_view<imfreq,scalar_valued> g_in) -> gf<imtime, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imfreq,scalar_valued> g_in) -> block_gf<imtime, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imfreq,scalar_valued> g_in) -> block2_gf<imtime, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,scalar_valued> g_in, imtime mesh, array_const_view<dcomplex,scalar_valued::rank + 1> known_moments) -> gf<imtime, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imfreq,scalar_valued> g_in, imtime mesh, std::vector<array<dcomplex,scalar_valued::rank + 1>> known_moments) -> block_gf<imtime, scalar_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imfreq, triqs::gfs::scalar_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imfreq,scalar_valued> g_in, imtime mesh, std::vector<std::vector<array<dcomplex,scalar_valued::rank + 1>>> known_moments) -> block2_gf<imtime, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,scalar_valued> g_in) -> gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,typename scalar_valued::real_t> g_in) -> gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,scalar_valued> g_in) -> block_gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,typename scalar_valued::real_t> g_in) -> block_gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,scalar_valued> g_in) -> block2_gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,typename scalar_valued::real_t> g_in) -> block2_gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,scalar_valued> g_in, imfreq mesh, array_const_view<dcomplex,scalar_valued::rank + 1> known_moments) -> gf<imfreq, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imtime,scalar_valued> g_in, imfreq mesh, std::vector<array<dcomplex,scalar_valued::rank + 1>> known_moments) -> block_gf<imfreq, scalar_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imtime, triqs::gfs::scalar_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imtime,scalar_valued> g_in, imfreq mesh, std::vector<std::vector<array<dcomplex,scalar_valued::rank + 1>>> known_moments) -> block2_gf<imfreq, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<refreq,scalar_valued> g_in) -> gf<retime, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<refreq,scalar_valued> g_in) -> block_gf<retime, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<refreq,scalar_valued> g_in) -> block2_gf<retime, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<refreq,scalar_valued> g_in, retime mesh, array_const_view<dcomplex,scalar_valued::rank + 1> known_moments) -> gf<retime, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<refreq,scalar_valued> g_in, retime mesh, std::vector<array<dcomplex,scalar_valued::rank + 1>> known_moments) -> block_gf<retime, scalar_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::refreq, triqs::gfs::scalar_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<refreq,scalar_valued> g_in, retime mesh, std::vector<std::vector<array<dcomplex,scalar_valued::rank + 1>>> known_moments) -> block2_gf<retime, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<retime,scalar_valued> g_in) -> gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,typename scalar_valued::real_t> g_in) -> gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,scalar_valued> g_in) -> block_gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,typename scalar_valued::real_t> g_in) -> block_gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,scalar_valued> g_in) -> block2_gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,typename scalar_valued::real_t> g_in) -> block2_gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,scalar_valued> g_in, refreq mesh, array_const_view<dcomplex,scalar_valued::rank + 1> known_moments) -> gf<refreq, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<retime,scalar_valued> g_in, refreq mesh, std::vector<array<dcomplex,scalar_valued::rank + 1>> known_moments) -> block_gf<refreq, scalar_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::retime, triqs::gfs::scalar_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::scalar_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<retime,scalar_valued> g_in, refreq mesh, std::vector<std::vector<array<dcomplex,scalar_valued::rank + 1>>> known_moments) -> block2_gf<refreq, scalar_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,scalar_valued> g_in, int n_iw) -> gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<imfreq,scalar_valued> g_in, int n_tau) -> gf<imtime, scalar_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imtime,scalar_valued> g_in, int n_iw) -> block_gf<imfreq, scalar_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imfreq,scalar_valued> g_in, int n_tau) -> block_gf<imtime, scalar_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<retime,scalar_valued> g_in, bool shift_half_bin) -> gf<refreq, scalar_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<refreq,scalar_valued> g_in, bool shift_half_bin) -> gf<retime, scalar_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<brzone,scalar_valued> g_in) -> gf<cyclat, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<brzone,scalar_valued> g_in) -> block_gf<cyclat, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<brzone,scalar_valued> g_in) -> block2_gf<cyclat, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<cyclat,scalar_valued> g_in) -> gf<brzone, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<cyclat,scalar_valued> g_in) -> block_gf<brzone, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<cyclat,scalar_valued> g_in) -> block2_gf<brzone, scalar_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,matrix_valued> g_in) -> gf<imtime, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imfreq,matrix_valued> g_in) -> block_gf<imtime, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imfreq,matrix_valued> g_in) -> block2_gf<imtime, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,matrix_valued> g_in, imtime mesh, array_const_view<dcomplex,matrix_valued::rank + 1> known_moments) -> gf<imtime, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imfreq,matrix_valued> g_in, imtime mesh, std::vector<array<dcomplex,matrix_valued::rank + 1>> known_moments) -> block_gf<imtime, matrix_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imfreq, triqs::gfs::matrix_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imfreq,matrix_valued> g_in, imtime mesh, std::vector<std::vector<array<dcomplex,matrix_valued::rank + 1>>> known_moments) -> block2_gf<imtime, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,matrix_valued> g_in) -> gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,typename matrix_valued::real_t> g_in) -> gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,matrix_valued> g_in) -> block_gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,typename matrix_valued::real_t> g_in) -> block_gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,matrix_valued> g_in) -> block2_gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,typename matrix_valued::real_t> g_in) -> block2_gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,matrix_valued> g_in, imfreq mesh, array_const_view<dcomplex,matrix_valued::rank + 1> known_moments) -> gf<imfreq, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imtime,matrix_valued> g_in, imfreq mesh, std::vector<array<dcomplex,matrix_valued::rank + 1>> known_moments) -> block_gf<imfreq, matrix_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imtime, triqs::gfs::matrix_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imtime,matrix_valued> g_in, imfreq mesh, std::vector<std::vector<array<dcomplex,matrix_valued::rank + 1>>> known_moments) -> block2_gf<imfreq, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<refreq,matrix_valued> g_in) -> gf<retime, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<refreq,matrix_valued> g_in) -> block_gf<retime, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<refreq,matrix_valued> g_in) -> block2_gf<retime, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<refreq,matrix_valued> g_in, retime mesh, array_const_view<dcomplex,matrix_valued::rank + 1> known_moments) -> gf<retime, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<refreq,matrix_valued> g_in, retime mesh, std::vector<array<dcomplex,matrix_valued::rank + 1>> known_moments) -> block_gf<retime, matrix_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::refreq, triqs::gfs::matrix_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<refreq,matrix_valued> g_in, retime mesh, std::vector<std::vector<array<dcomplex,matrix_valued::rank + 1>>> known_moments) -> block2_gf<retime, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<retime,matrix_valued> g_in) -> gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,typename matrix_valued::real_t> g_in) -> gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,matrix_valued> g_in) -> block_gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,typename matrix_valued::real_t> g_in) -> block_gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,matrix_valued> g_in) -> block2_gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,typename matrix_valued::real_t> g_in) -> block2_gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,matrix_valued> g_in, refreq mesh, array_const_view<dcomplex,matrix_valued::rank + 1> known_moments) -> gf<refreq, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<retime,matrix_valued> g_in, refreq mesh, std::vector<array<dcomplex,matrix_valued::rank + 1>> known_moments) -> block_gf<refreq, matrix_valued> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::retime, triqs::gfs::matrix_valued, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::matrix_valued, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<retime,matrix_valued> g_in, refreq mesh, std::vector<std::vector<array<dcomplex,matrix_valued::rank + 1>>> known_moments) -> block2_gf<refreq, matrix_valued> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,matrix_valued> g_in, int n_iw) -> gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<imfreq,matrix_valued> g_in, int n_tau) -> gf<imtime, matrix_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imtime,matrix_valued> g_in, int n_iw) -> block_gf<imfreq, matrix_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imfreq,matrix_valued> g_in, int n_tau) -> block_gf<imtime, matrix_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<retime,matrix_valued> g_in, bool shift_half_bin) -> gf<refreq, matrix_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<refreq,matrix_valued> g_in, bool shift_half_bin) -> gf<retime, matrix_valued> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<brzone,matrix_valued> g_in) -> gf<cyclat, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<brzone,matrix_valued> g_in) -> block_gf<cyclat, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<brzone,matrix_valued> g_in) -> block2_gf<cyclat, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<cyclat,matrix_valued> g_in) -> gf<brzone, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<cyclat,matrix_valued> g_in) -> block_gf<brzone, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<cyclat,matrix_valued> g_in) -> block2_gf<brzone, matrix_valued> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,tensor_valued<3>> g_in) -> gf<imtime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imfreq,tensor_valued<3>> g_in) -> block_gf<imtime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imfreq,tensor_valued<3>> g_in) -> block2_gf<imtime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,tensor_valued<3>> g_in, imtime mesh, array_const_view<dcomplex,tensor_valued<3>::rank + 1> known_moments) -> gf<imtime, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imfreq,tensor_valued<3>> g_in, imtime mesh, std::vector<array<dcomplex,tensor_valued<3>::rank + 1>> known_moments) -> block_gf<imtime, tensor_valued<3>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imfreq, triqs::gfs::tensor_valued<3>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imfreq,tensor_valued<3>> g_in, imtime mesh, std::vector<std::vector<array<dcomplex,tensor_valued<3>::rank + 1>>> known_moments) -> block2_gf<imtime, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,tensor_valued<3>> g_in) -> gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,typename tensor_valued<3>::real_t> g_in) -> gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,tensor_valued<3>> g_in) -> block_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,typename tensor_valued<3>::real_t> g_in) -> block_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,tensor_valued<3>> g_in) -> block2_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,typename tensor_valued<3>::real_t> g_in) -> block2_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,tensor_valued<3>> g_in, imfreq mesh, array_const_view<dcomplex,tensor_valued<3>::rank + 1> known_moments) -> gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imtime,tensor_valued<3>> g_in, imfreq mesh, std::vector<array<dcomplex,tensor_valued<3>::rank + 1>> known_moments) -> block_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imtime, triqs::gfs::tensor_valued<3>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imtime,tensor_valued<3>> g_in, imfreq mesh, std::vector<std::vector<array<dcomplex,tensor_valued<3>::rank + 1>>> known_moments) -> block2_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<refreq,tensor_valued<3>> g_in) -> gf<retime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<refreq,tensor_valued<3>> g_in) -> block_gf<retime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<refreq,tensor_valued<3>> g_in) -> block2_gf<retime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<refreq,tensor_valued<3>> g_in, retime mesh, array_const_view<dcomplex,tensor_valued<3>::rank + 1> known_moments) -> gf<retime, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<refreq,tensor_valued<3>> g_in, retime mesh, std::vector<array<dcomplex,tensor_valued<3>::rank + 1>> known_moments) -> block_gf<retime, tensor_valued<3>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::refreq, triqs::gfs::tensor_valued<3>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<refreq,tensor_valued<3>> g_in, retime mesh, std::vector<std::vector<array<dcomplex,tensor_valued<3>::rank + 1>>> known_moments) -> block2_gf<retime, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<retime,tensor_valued<3>> g_in) -> gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,typename tensor_valued<3>::real_t> g_in) -> gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,tensor_valued<3>> g_in) -> block_gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,typename tensor_valued<3>::real_t> g_in) -> block_gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,tensor_valued<3>> g_in) -> block2_gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,typename tensor_valued<3>::real_t> g_in) -> block2_gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,tensor_valued<3>> g_in, refreq mesh, array_const_view<dcomplex,tensor_valued<3>::rank + 1> known_moments) -> gf<refreq, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<retime,tensor_valued<3>> g_in, refreq mesh, std::vector<array<dcomplex,tensor_valued<3>::rank + 1>> known_moments) -> block_gf<refreq, tensor_valued<3>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::retime, triqs::gfs::tensor_valued<3>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::tensor_valued<3>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<retime,tensor_valued<3>> g_in, refreq mesh, std::vector<std::vector<array<dcomplex,tensor_valued<3>::rank + 1>>> known_moments) -> block2_gf<refreq, tensor_valued<3>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,tensor_valued<3>> g_in, int n_iw) -> gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<imfreq,tensor_valued<3>> g_in, int n_tau) -> gf<imtime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imtime,tensor_valued<3>> g_in, int n_iw) -> block_gf<imfreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imfreq,tensor_valued<3>> g_in, int n_tau) -> block_gf<imtime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<retime,tensor_valued<3>> g_in, bool shift_half_bin) -> gf<refreq, tensor_valued<3>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<refreq,tensor_valued<3>> g_in, bool shift_half_bin) -> gf<retime, tensor_valued<3>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<brzone,tensor_valued<3>> g_in) -> gf<cyclat, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<brzone,tensor_valued<3>> g_in) -> block_gf<cyclat, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<brzone,tensor_valued<3>> g_in) -> block2_gf<cyclat, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<cyclat,tensor_valued<3>> g_in) -> gf<brzone, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<cyclat,tensor_valued<3>> g_in) -> block_gf<brzone, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<cyclat,tensor_valued<3>> g_in) -> block2_gf<brzone, tensor_valued<3>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,tensor_valued<4>> g_in) -> gf<imtime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imfreq,tensor_valued<4>> g_in) -> block_gf<imtime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imfreq,tensor_valued<4>> g_in) -> block2_gf<imtime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imfreq,tensor_valued<4>> g_in, imtime mesh, array_const_view<dcomplex,tensor_valued<4>::rank + 1> known_moments) -> gf<imtime, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imfreq,tensor_valued<4>> g_in, imtime mesh, std::vector<array<dcomplex,tensor_valued<4>::rank + 1>> known_moments) -> block_gf<imtime, tensor_valued<4>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imfreq, triqs::gfs::tensor_valued<4>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imfreq, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imfreq,tensor_valued<4>> g_in, imtime mesh, std::vector<std::vector<array<dcomplex,tensor_valued<4>::rank + 1>>> known_moments) -> block2_gf<imtime, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,tensor_valued<4>> g_in) -> gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,typename tensor_valued<4>::real_t> g_in) -> gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,tensor_valued<4>> g_in) -> block_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<imtime,typename tensor_valued<4>::real_t> g_in) -> block_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,tensor_valued<4>> g_in) -> block2_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<imtime,typename tensor_valued<4>::real_t> g_in) -> block2_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<imtime,tensor_valued<4>> g_in, imfreq mesh, array_const_view<dcomplex,tensor_valued<4>::rank + 1> known_moments) -> gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<imtime,tensor_valued<4>> g_in, imfreq mesh, std::vector<array<dcomplex,tensor_valued<4>::rank + 1>> known_moments) -> block_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::imtime, triqs::gfs::tensor_valued<4>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::imtime, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<imtime,tensor_valued<4>> g_in, imfreq mesh, std::vector<std::vector<array<dcomplex,tensor_valued<4>::rank + 1>>> known_moments) -> block2_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<refreq,tensor_valued<4>> g_in) -> gf<retime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<refreq,tensor_valued<4>> g_in) -> block_gf<retime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<refreq,tensor_valued<4>> g_in) -> block2_gf<retime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<refreq,tensor_valued<4>> g_in, retime mesh, array_const_view<dcomplex,tensor_valued<4>::rank + 1> known_moments) -> gf<retime, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<refreq,tensor_valued<4>> g_in, retime mesh, std::vector<array<dcomplex,tensor_valued<4>::rank + 1>> known_moments) -> block_gf<retime, tensor_valued<4>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::refreq, triqs::gfs::tensor_valued<4>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::refreq, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<refreq,tensor_valued<4>> g_in, retime mesh, std::vector<std::vector<array<dcomplex,tensor_valued<4>::rank + 1>>> known_moments) -> block2_gf<retime, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<retime,tensor_valued<4>> g_in) -> gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,typename tensor_valued<4>::real_t> g_in) -> gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,tensor_valued<4>> g_in) -> block_gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<retime,typename tensor_valued<4>::real_t> g_in) -> block_gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,tensor_valued<4>> g_in) -> block2_gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<retime,typename tensor_valued<4>::real_t> g_in) -> block2_gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<retime,tensor_valued<4>> g_in, refreq mesh, array_const_view<dcomplex,tensor_valued<4>::rank + 1> known_moments) -> gf<refreq, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Gf

make_gf_from_fourier(block_gf_view<retime,tensor_valued<4>> g_in, refreq mesh, std::vector<array<dcomplex,tensor_valued<4>::rank + 1>> known_moments) -> block_gf<refreq, tensor_valued<4>> 
 failed with the error : 
  Cpp2py converter: Python to C++ :
  ... Conversion of a BlockGf from Python to C++ triqs::gfs::block_gf_view<triqs::mesh::retime, triqs::gfs::tensor_valued<4>, 1, false>
  ... Cannot convert the _BlockGf__GFlist of BlockGf from Python type :  tuple to the C++ type std::__1::vector<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>, std::__1::allocator<triqs::gfs::gf_view<triqs::mesh::retime, triqs::gfs::tensor_valued<4>, nda::C_stride_layout, triqs::gfs::default_evaluator>>>

make_gf_from_fourier(block2_gf_view<retime,tensor_valued<4>> g_in, refreq mesh, std::vector<std::vector<array<dcomplex,tensor_valued<4>::rank + 1>>> known_moments) -> block2_gf<refreq, tensor_valued<4>> 
 failed with the error : 
  Type error: Python object does not match expected type Block2Gf

make_gf_from_fourier(gf_view<imtime,tensor_valued<4>> g_in, int n_iw) -> gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<imfreq,tensor_valued<4>> g_in, int n_tau) -> gf<imtime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imtime,tensor_valued<4>> g_in, int n_iw) -> block_gf<imfreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(block_gf_view<imfreq,tensor_valued<4>> g_in, int n_tau) -> block_gf<imtime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<retime,tensor_valued<4>> g_in, bool shift_half_bin) -> gf<refreq, tensor_valued<4>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<refreq,tensor_valued<4>> g_in, bool shift_half_bin) -> gf<retime, tensor_valued<4>> 
 failed with the error : 
  function takes at most 2 arguments (3 given)

make_gf_from_fourier(gf_view<brzone,tensor_valued<4>> g_in) -> gf<cyclat, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<brzone,tensor_valued<4>> g_in) -> block_gf<cyclat, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<brzone,tensor_valued<4>> g_in) -> block2_gf<cyclat, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(gf_view<cyclat,tensor_valued<4>> g_in) -> gf<brzone, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block_gf_view<cyclat,tensor_valued<4>> g_in) -> block_gf<brzone, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

make_gf_from_fourier(block2_gf_view<cyclat,tensor_valued<4>> g_in) -> block2_gf<brzone, tensor_valued<4>> 
 failed with the error : 
  function takes at most 1 argument (3 given)

Versions

Please provide the version of the TRIQS library that you used.

2cf77b059397b9ba299d229e41e61da5a9d839fd

Formatting

Please use markdown in your issue message. A useful summary of commands can be found here.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

hmenke commented 1 year ago

Interestingly, the functionally equivalent C++ code compiles just fine.

#include <triqs/gfs.hpp>
#include <triqs/mesh.hpp>

int main() {
  using namespace triqs;
  using namespace triqs::gfs;
  using triqs::mesh::Fermion;

  auto tau_mesh = mesh::imtime{1.0, Fermion, 61};
  auto iw_mesh = mesh::imfreq{1.0, Fermion, 10};
  auto gf_struct = gf_struct_t{ {"up", 1}, {"dn", 1} };
  auto G0_iw = block_gf(iw_mesh, gf_struct);
  auto M_tau = block_gf<imtime,matrix_real_valued>(tau_mesh, gf_struct);
  auto M_iw = make_gf_from_fourier(M_tau, G0_iw[0].mesh(), make_zero_tail(G0_iw));
}
Wentzell commented 1 year ago

Thank you @hmenke for pointing this out. This is now fixed in 6d8bde7aa