Revert "preprocessor: replace oo_.exo_steady_state with steady_state_x, #825"

This reverts commit 2bb97a90d6.
time-shift
Houtan Bastani 2015-01-14 15:14:57 +01:00
parent 2bb97a90d6
commit 707702a447
2 changed files with 4 additions and 4 deletions

View File

@ -1532,7 +1532,7 @@ DynamicModel::writeDynamicMFile(const string &dynamic_basename) const
cerr << "Error: Can't open file " << filename << " for writing" << endl;
exit(EXIT_FAILURE);
}
mDynamicModelFile << "function [residual, g1, g2, g3] = " << dynamic_basename << "(y, x, params, steady_state, steady_state_x, it_)" << endl
mDynamicModelFile << "function [residual, g1, g2, g3] = " << dynamic_basename << "(y, x, params, steady_state, it_)" << endl
<< "%" << endl
<< "% Status : Computes dynamic model for Dynare" << endl
<< "%" << endl

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2007-2015 Dynare Team
* Copyright (C) 2007-2014 Dynare Team
*
* This file is part of Dynare.
*
@ -712,10 +712,10 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
break;
case oMatlabOutsideModel:
assert(lag == 0);
output << "steady_state_x(" << i << ")";
output << "oo_.exo_steady_state(" << i << ")";
break;
case oMatlabDynamicSteadyStateOperator:
output << "steady_state_x(" << i << ")";
output << "oo_.exo_steady_state(" << i << ")";
break;
case oSteadyStateFile:
output << "exo_(" << i << ")";