Commit d4520da4 authored by Sébastien Villemot's avatar Sébastien Villemot

Preprocessor: fix bug with varexo_det in conjunction with USE_DLL

parent 9b166fdb
......@@ -677,11 +677,11 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
break;
case oCDynamicModel:
if (lag == 0)
output << "x[it_+" << i << "*nb_row_xd]";
output << "x[it_+" << i << "*nb_row_x]";
else if (lag > 0)
output << "x[it_+" << lag << "+" << i << "*nb_row_xd]";
output << "x[it_+" << lag << "+" << i << "*nb_row_x]";
else
output << "x[it_" << lag << "+" << i << "*nb_row_xd]";
output << "x[it_" << lag << "+" << i << "*nb_row_x]";
break;
case oMatlabStaticModel:
case oMatlabStaticModelSparse:
......
Markdown is supported
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