From 70dffd15184e6867ecde7eb2320885b558f51b3b Mon Sep 17 00:00:00 2001 From: michel Date: Sun, 8 Jan 2006 08:36:34 +0000 Subject: [PATCH] v4 parser: bug in trend_coeff git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@589 ac1d8469-bf42-47a9-8791-bf33cf982152 --- parser.src/ComputingTasks.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.src/ComputingTasks.cc b/parser.src/ComputingTasks.cc index aa09e4fe9..e16b1ed28 100644 --- a/parser.src/ComputingTasks.cc +++ b/parser.src/ComputingTasks.cc @@ -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 {