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
909cc995
Commit
909cc995
authored
Mar 31, 2015
by
MichelJuillard
Browse files
fixing bug in treatment of temporary terms for blocks with *.m files
parent
c16ed24f
Changes
1
Hide whitespace changes
Inline
Side-by-side
DynamicModel.cc
View file @
909cc995
...
@@ -187,6 +187,10 @@ DynamicModel::computeTemporaryTermsOrdered()
...
@@ -187,6 +187,10 @@ DynamicModel::computeTemporaryTermsOrdered()
it
->
second
->
collectTemporary_terms
(
temporary_terms
,
temporary_terms_in_use
,
block
);
it
->
second
->
collectTemporary_terms
(
temporary_terms
,
temporary_terms_in_use
,
block
);
for
(
derivative_t
::
const_iterator
it
=
derivative_other_endo
[
block
].
begin
();
it
!=
derivative_other_endo
[
block
].
end
();
it
++
)
for
(
derivative_t
::
const_iterator
it
=
derivative_other_endo
[
block
].
begin
();
it
!=
derivative_other_endo
[
block
].
end
();
it
++
)
it
->
second
->
collectTemporary_terms
(
temporary_terms
,
temporary_terms_in_use
,
block
);
it
->
second
->
collectTemporary_terms
(
temporary_terms
,
temporary_terms_in_use
,
block
);
for
(
derivative_t
::
const_iterator
it
=
derivative_exo
[
block
].
begin
();
it
!=
derivative_exo
[
block
].
end
();
it
++
)
it
->
second
->
collectTemporary_terms
(
temporary_terms
,
temporary_terms_in_use
,
block
);
for
(
derivative_t
::
const_iterator
it
=
derivative_exo_det
[
block
].
begin
();
it
!=
derivative_exo_det
[
block
].
end
();
it
++
)
it
->
second
->
collectTemporary_terms
(
temporary_terms
,
temporary_terms_in_use
,
block
);
v_temporary_terms_inuse
[
block
]
=
temporary_terms_in_use
;
v_temporary_terms_inuse
[
block
]
=
temporary_terms_in_use
;
}
}
computeTemporaryTermsMapping
();
computeTemporaryTermsMapping
();
...
...
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