is returning just zeros. I checked the corresponding c++ routine in gw.cpp and to me it feels like that there is something wrong with the matrix view (to_matrix).
At least I get from:
std::cout<<V_k[k]<<"\n";
std::cout<<V<<"\n";
something like:
[(32.5812,0) ]
[[(1.38383e-316,1.38307e-316)]]
so V_k[k] is correctly non-zero, but V = to_matrix(V_k[k]) somehow loses this value.
This is a bug report from M. Roesner on the screened interaction calculation https://github.com/TRIQS/tprf/blob/unstable/c%2B%2B/triqs_tprf/lattice/gw.cpp#L28
is returning just zeros. I checked the corresponding c++ routine in gw.cpp and to me it feels like that there is something wrong with the matrix view (to_matrix).
At least I get from:
something like:
so
V_k[k]
is correctly non-zero, butV = to_matrix(V_k[k])
somehow loses this value.