diff --git a/triqs/gfs/gf.hpp b/triqs/gfs/gf.hpp index 2fbf325a..9f0a738b 100644 --- a/triqs/gfs/gf.hpp +++ b/triqs/gfs/gf.hpp @@ -736,7 +736,7 @@ namespace gfs { template gf L_G_R(matrix l, gf g, matrix r) { - auto res = gf{g.mesh(), {first_dim(l), second_dim(r)}}; + auto res = gf{g.mesh(), {int(first_dim(l)), int(second_dim(r))}}; res.data() = _gf_data_mul_LR(l, g.data(), r); res.singularity() = l * g.singularity() * r; return res;