Preprocessor: fix bug with varexo_det in conjunction with USE_DLL
parent
9b166fdb08
commit
d4520da481
|
@ -677,11 +677,11 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
|
||||||
break;
|
break;
|
||||||
case oCDynamicModel:
|
case oCDynamicModel:
|
||||||
if (lag == 0)
|
if (lag == 0)
|
||||||
output << "x[it_+" << i << "*nb_row_xd]";
|
output << "x[it_+" << i << "*nb_row_x]";
|
||||||
else if (lag > 0)
|
else if (lag > 0)
|
||||||
output << "x[it_+" << lag << "+" << i << "*nb_row_xd]";
|
output << "x[it_+" << lag << "+" << i << "*nb_row_x]";
|
||||||
else
|
else
|
||||||
output << "x[it_" << lag << "+" << i << "*nb_row_xd]";
|
output << "x[it_" << lag << "+" << i << "*nb_row_x]";
|
||||||
break;
|
break;
|
||||||
case oMatlabStaticModel:
|
case oMatlabStaticModel:
|
||||||
case oMatlabStaticModelSparse:
|
case oMatlabStaticModelSparse:
|
||||||
|
|
Loading…
Reference in New Issue