From d59f9f75ff7a61e44c02ed748f56cb4a73b6d7d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 5 Jun 2019 15:01:45 +0200
Subject: [PATCH] Simplification of previous commit

---
 src/ComputingTasks.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc
index cbe7528a..400eda98 100644
--- a/src/ComputingTasks.cc
+++ b/src/ComputingTasks.cc
@@ -302,7 +302,7 @@ PacModelStatement::overwriteGrowth(expr_t new_growth)
     {
       auto gv = dynamic_cast<const VariableNode *>(growth);
       if (gv)
-        growth_info.push_back({gv->symb_id, gv->lag, -1, 1});
+        growth_info.emplace_back(gv->symb_id, gv->lag, -1, 1);
       else
         {
           cerr << "Pac growth must be a linear combination of varibles" << endl;
-- 
GitLab