Verified Commit d59f9f75 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Simplification of previous commit

parent d8734147
Pipeline #1319 passed with stage
in 1 minute and 23 seconds
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment