v4 parser: authorized listing dsge_prior_weight in estimated_params although it doesn't appear in the model
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@928 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
fb30fd76ef
commit
2352ae1626
|
@ -135,7 +135,7 @@ void ComputingTasks::setEstimatedElements(void)
|
||||||
string msg = "Unknown symbol: "+EstimParams->name;
|
string msg = "Unknown symbol: "+EstimParams->name;
|
||||||
error(msg.c_str());
|
error(msg.c_str());
|
||||||
}
|
}
|
||||||
if (SymbolTable::isReferenced(EstimParams->name) == eNotReferenced)
|
if (SymbolTable::isReferenced(EstimParams->name) == eNotReferenced & EstimParams->name != "dsge_prior_weight")
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -428,7 +428,7 @@ void ComputingTasks::setOsrParams(string tmp)
|
||||||
void ComputingTasks::runOsr(string tmp1)
|
void ComputingTasks::runOsr(string tmp1)
|
||||||
{
|
{
|
||||||
*output << tmp1;
|
*output << tmp1;
|
||||||
*output << "osr(var_list_,osr_params_,optim_weights_);\n";
|
*output << "osr(var_list_,osr_params_,obj_var_,optim_weights_);\n";
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void ComputingTasks::setOlrInst(string tmp)
|
void ComputingTasks::setOlrInst(string tmp)
|
||||||
|
|
Loading…
Reference in New Issue