Fix bug in MATLAB/Octave output introduced in 3e1f9dbb82
parent
1d71386f01
commit
7fd78606ae
|
@ -4106,13 +4106,14 @@ DynamicModel::writeSetAuxiliaryVariables(const string &basename, bool julia) con
|
|||
<< comment << " Status : Computes Auxiliary variables of the dynamic model and returns a dseries" << endl
|
||||
<< comment << endl
|
||||
<< comment << " Warning : this file is generated automatically by Dynare" << endl
|
||||
<< comment << " from model file (.mod)" << endl << endl
|
||||
<< "@inbounds begin" << endl
|
||||
<< output_func_body.str()
|
||||
<< "end" << endl
|
||||
<< comment << " from model file (.mod)" << endl << endl;
|
||||
if (julia)
|
||||
output << "@inbounds begin" << endl;
|
||||
output << output_func_body.str()
|
||||
<< "end" << endl;
|
||||
if (julia)
|
||||
output << "end" << endl;
|
||||
output << "end" << endl
|
||||
<< "end" << endl;
|
||||
|
||||
writeToFileIfModified(output, julia ? basename + "DynamicSetAuxiliarySeries.jl" : packageDir(basename) + "/" + func_name + ".m");
|
||||
}
|
||||
|
|
|
@ -1751,13 +1751,14 @@ StaticModel::writeSetAuxiliaryVariables(const string &basename, bool julia) cons
|
|||
<< comment << " Status : Computes static model for Dynare" << endl
|
||||
<< comment << endl
|
||||
<< comment << " Warning : this file is generated automatically by Dynare" << endl
|
||||
<< comment << " from model file (.mod)" << endl << endl
|
||||
<< "@inbounds begin" << endl
|
||||
<< output_func_body.str()
|
||||
<< "end" << endl
|
||||
<< comment << " from model file (.mod)" << endl << endl;
|
||||
if (julia)
|
||||
output << "@inbounds begin" << endl;
|
||||
output << output_func_body.str()
|
||||
<< "end" << endl;
|
||||
if (julia)
|
||||
output << "end" << endl;
|
||||
output << "end" << endl
|
||||
<< "end" << endl;
|
||||
|
||||
writeToFileIfModified(output, julia ? basename + "SetAuxiliaryVariables.jl" : packageDir(basename) + "/" + func_name + ".m");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue