Closed krivenko closed 2 years ago
This solution is based on a conceptionally different implementation of atom_diag::get_matrix_element_of_monomial(). It is proposed by @Wentzell in https://github.com/TRIQS/triqs/issues/825#issuecomment-1036647227.
atom_diag::get_matrix_element_of_monomial()
I have also made atom_diag::get_matrix_element_of_monomial() public and removed the free function matrix_element_of_monomial() from atom_diag/impl/functions.cpp as it was doing the very same thing.
matrix_element_of_monomial()
atom_diag/impl/functions.cpp
Merging this, thank you again @krivenko !
This solution is based on a conceptionally different implementation of
atom_diag::get_matrix_element_of_monomial()
. It is proposed by @Wentzell in https://github.com/TRIQS/triqs/issues/825#issuecomment-1036647227.I have also made
atom_diag::get_matrix_element_of_monomial()
public and removed the free functionmatrix_element_of_monomial()
fromatom_diag/impl/functions.cpp
as it was doing the very same thing.