From 0727bddeee17dfae6fe4771a035ed4993082aa19 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Thu, 12 Jun 2014 22:44:34 +0200 Subject: [PATCH] Fix #85 : narrowing conversion --- triqs/gfs/gf.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;