v4 parser: bug in trend_coeff
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@589 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
89f1118b49
commit
70dffd1518
|
@ -294,8 +294,8 @@ void ComputingTasks::set_trend_element (string name, string expression)
|
|||
// int id = SymbolTable::getID(name);
|
||||
if (type == eEndogenous)
|
||||
{
|
||||
*output << "tmp1 = strmatch(" << name << ",options_.varobs,'exact');\n";
|
||||
*output << "options_.trend_coeffs{tmp1} = " << expression << ";\n";
|
||||
*output << "tmp1 = strmatch('" << name << "',options_.varobs,'exact');\n";
|
||||
*output << "options_.trend_coeffs{tmp1} = '" << expression << "';\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue