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
Dóra Kocsis
dynare
Commits
d4520da4
Commit
d4520da4
authored
Dec 08, 2010
by
Sébastien Villemot
Browse files
Preprocessor: fix bug with varexo_det in conjunction with USE_DLL
parent
9b166fdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ExprNode.cc
View file @
d4520da4
...
...
@@ -677,11 +677,11 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
break
;
case
oCDynamicModel
:
if
(
lag
==
0
)
output
<<
"x[it_+"
<<
i
<<
"*nb_row_x
d
]"
;
output
<<
"x[it_+"
<<
i
<<
"*nb_row_x]"
;
else
if
(
lag
>
0
)
output
<<
"x[it_+"
<<
lag
<<
"+"
<<
i
<<
"*nb_row_x
d
]"
;
output
<<
"x[it_+"
<<
lag
<<
"+"
<<
i
<<
"*nb_row_x]"
;
else
output
<<
"x[it_"
<<
lag
<<
"+"
<<
i
<<
"*nb_row_x
d
]"
;
output
<<
"x[it_"
<<
lag
<<
"+"
<<
i
<<
"*nb_row_x]"
;
break
;
case
oMatlabStaticModel
:
case
oMatlabStaticModelSparse
:
...
...
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