Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
preprocessor
Commits
d59f9f75
Verified
Commit
d59f9f75
authored
Jun 05, 2019
by
Sébastien Villemot
Browse files
Simplification of previous commit
parent
d8734147
Pipeline
#1319
passed with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ComputingTasks.cc
View file @
d59f9f75
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment