From d89c73b177afac2a904e5c6e89ff55088ab0c5b8 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Thu, 15 Feb 2018 15:54:41 +0100 Subject: [PATCH] =?UTF-8?q?pac=5Fexpectation:=20remove=20=E2=80=9Cparam?= =?UTF-8?q?=E2=80=9D=20from=20=E2=80=9Cdiscount=5Fparam=5Findex=E2=80=9D?= =?UTF-8?q?=20because=20it=20is=20always=20a=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ExprNode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExprNode.cc b/ExprNode.cc index 54bc4189..40251936 100644 --- a/ExprNode.cc +++ b/ExprNode.cc @@ -7392,7 +7392,7 @@ PacExpectationNode::writeOutput(ostream &output, ExprNodeOutputType output_type, } output <<"M_.pac_expectation." << model_name << ".var_model_name = '" << var_model_name << "';" << endl - << "M_.pac_expectation." << model_name << ".discount_param_index = " + << "M_.pac_expectation." << model_name << ".discount_index = " << datatree.symbol_table.getTypeSpecificID(discount_symb_id) + 1 << ";" << endl << "M_.pac_expectation." << model_name << ".equation_number = " << equation_number + 1 << ";" << endl; -- GitLab