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
c03f89eb
Commit
c03f89eb
authored
Nov 14, 2013
by
Houtan Bastani
Browse files
preprocessor: simplify if statement
parent
cef58f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
DynamicModel.cc
View file @
c03f89eb
...
...
@@ -719,7 +719,7 @@ DynamicModel::writeModelEquationsOrdered_M(const string &dynamic_basename) const
Uf
[
eqr
]
<<
"+g1("
<<
eq
+
1
-
block_recursive
<<
"+Per_J_, "
<<
var
+
1
-
block_recursive
<<
"+y_size*(it_+"
<<
lag
-
1
<<
"))*y(it_+"
<<
lag
<<
", "
<<
varr
+
1
<<
")"
;
else
if
(
lag
<
0
)
else
Uf
[
eqr
]
<<
"+g1("
<<
eq
+
1
-
block_recursive
<<
"+Per_J_, "
<<
var
+
1
-
block_recursive
<<
"+y_size*(it_"
<<
lag
-
1
<<
"))*y(it_"
<<
lag
<<
", "
<<
varr
+
1
<<
")"
;
...
...
Write
Preview
Markdown
is supported
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