Skip to content

Commit

Permalink
Fix chi_trapz_tau function after removal of gf::target_t::value_t in …
Browse files Browse the repository at this point in the history
…triqs
  • Loading branch information
Wentzell committed Nov 15, 2024
1 parent d8d5740 commit d1792d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion c++/triqs_tprf/lattice/chi_imtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ chi_wr_t chi0_w0r_from_grt_PH(g_tr_cvt g_tr) {
return chi0_wr;
}

chi_t_t::target_t::value_t chi_trapz_tau(chi_t_cvt chi_t) {
target_value_t<chi_t_t>::regular_type chi_trapz_tau(chi_t_cvt chi_t) {

auto tmesh = chi_t.mesh();
int ntau = tmesh.size();
Expand Down
2 changes: 1 addition & 1 deletion c++/triqs_tprf/lattice/chi_imtime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,6 @@ chi_Dwk_t chi_wk_from_chi_wr(chi_Dwr_cvt chi_wr);
chi_wr_t chi_wr_from_chi_wk(chi_wk_cvt chi_wk);
chi_Dwr_t chi_wr_from_chi_wk(chi_Dwk_cvt chi_wk);

chi_t_t::target_t::value_t chi_trapz_tau(chi_t_cvt chi_t);
target_value_t<chi_t_t>::regular_type chi_trapz_tau(chi_t_cvt chi_t);

} // namespace triqs_tprf
2 changes: 1 addition & 1 deletion python/triqs_tprf/lattice_desc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@

module.add_function ("triqs_tprf::chi_Dwr_t triqs_tprf::chi_wr_from_chi_wk (triqs_tprf::chi_Dwk_cvt chi_wk)")

module.add_function ("chi_t_t::target_t::value_t triqs_tprf::chi_trapz_tau (triqs_tprf::chi_t_cvt chi_t)", doc = r"""""")
module.add_function ("target_value_t<chi_t_t>::regular_type triqs_tprf::chi_trapz_tau (triqs_tprf::chi_t_cvt chi_t)", doc = r"""""")

module.add_function ("triqs_tprf::chi_wnr_t triqs_tprf::chi0r_from_gr_PH (int nw, int nn, triqs_tprf::g_wr_cvt g_nr)", doc = r"""Generalized susceptibility bubble in the particle-hole channel :math:`\chi^{(0)}_{\bar{a}b\bar{c}d}(\omega, \nu, \mathbf{r})`.
Expand Down

0 comments on commit d1792d3

Please sign in to comment.