From 7a52ebe14144078f8e765c60be0c1953f2608108 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Thu, 15 Feb 2018 13:44:45 +0100
Subject: [PATCH] preprocessor: pac_expectation: fix typo

---
 ExprNode.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ExprNode.cc b/ExprNode.cc
index aaa4b24c..0501d18a 100644
--- a/ExprNode.cc
+++ b/ExprNode.cc
@@ -7400,8 +7400,9 @@ PacExpectationNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
     output << "M_.pac_expectation." << model_name << ".growth_name = '"
            << datatree.symbol_table.getName(growth_symb_id) << "';" << endl
            << "M_.pac_expectation." << model_name << ".growth_neutrality_param_index = "
-           << datatree.symbol_table.getTypeSpecificID(growth_param_index) + 1 << ";" << endl
-           << "M_.pac_expectation." << model_name << ".equation_params = [";
+           << datatree.symbol_table.getTypeSpecificID(growth_param_index) + 1 << ";" << endl;
+
+  output << "M_.pac_expectation." << model_name << ".equation_params = [";
   for (set<pair<int, pair<int, int> > >::const_iterator it = params_and_vals.begin();
        it != params_and_vals.end(); it++)
     {
-- 
GitLab