Simplification of previous commit

issue#70
Sébastien Villemot 2019-06-05 15:01:45 +02:00
parent d873414728
commit d59f9f75ff
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -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;