explicitly close output streams
parent
feb5b93eea
commit
204457cd86
|
@ -4006,6 +4006,8 @@ DynamicModel::writeSetAuxiliaryVariables(const string &basename, const bool juli
|
|||
<< comment << " Warning : this file is generated automatically by Dynare" << endl
|
||||
<< comment << " from model file (.mod)" << endl << endl
|
||||
<< output_func_body.str();
|
||||
|
||||
output.close();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -2162,6 +2162,8 @@ StaticModel::writeSetAuxiliaryVariables(const string &basename, const bool julia
|
|||
<< comment << " Warning : this file is generated automatically by Dynare" << endl
|
||||
<< comment << " from model file (.mod)" << endl << endl
|
||||
<< output_func_body.str();
|
||||
|
||||
output.close();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue