Skip to content
Snippets Groups Projects
Commit 5e1cc8d8 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: clean up initval output

parent d72cadee
Branches
Tags
No related merge requests found
...@@ -213,12 +213,12 @@ InitValStatement::writeOutput(ostream &output, const string &basename, bool mini ...@@ -213,12 +213,12 @@ InitValStatement::writeOutput(ostream &output, const string &basename, bool mini
void void
InitValStatement::writeOutputPostInit(ostream &output) const InitValStatement::writeOutputPostInit(ostream &output) const
{ {
output << "if M_.exo_nbr > 0;" << endl output << "if M_.exo_nbr > 0" << endl
<< "\too_.exo_simul = [ones(M_.maximum_lag,1)*oo_.exo_steady_state'];" << endl << "\too_.exo_simul = ones(M_.maximum_lag,1)*oo_.exo_steady_state';" << endl
<<"end;" << endl <<"end" << endl
<< "if M_.exo_det_nbr > 0;" << endl << "if M_.exo_det_nbr > 0" << endl
<< "\too_.exo_det_simul = [ones(M_.maximum_lag,1)*oo_.exo_det_steady_state'];" << endl << "\too_.exo_det_simul = ones(M_.maximum_lag,1)*oo_.exo_det_steady_state';" << endl
<<"end;" << endl; <<"end" << endl;
} }
EndValStatement::EndValStatement(const init_values_t &init_values_arg, EndValStatement::EndValStatement(const init_values_t &init_values_arg,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment