pac_expectation: fix bug introduced in c3552e034cfe8d35bdf1cf5e05163822d3820938
parent
caa0197238
commit
b9295061ec
|
@ -7439,6 +7439,7 @@ PacExpectationNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
|
||||||
<< "M_.pac_expectation." << model_name << ".lhs_lag = " << lhs_pac_var.second << ";" << endl;
|
<< "M_.pac_expectation." << model_name << ".lhs_lag = " << lhs_pac_var.second << ";" << endl;
|
||||||
|
|
||||||
if (growth_symb_id >= 0)
|
if (growth_symb_id >= 0)
|
||||||
|
{
|
||||||
output << "M_.pac_expectation." << model_name << ".growth_neutrality_param_index = "
|
output << "M_.pac_expectation." << model_name << ".growth_neutrality_param_index = "
|
||||||
<< datatree.symbol_table.getTypeSpecificID(growth_param_index) + 1 << ";" << endl
|
<< datatree.symbol_table.getTypeSpecificID(growth_param_index) + 1 << ";" << endl
|
||||||
<< "M_.pac_expectation." << model_name << ".growth_index = "
|
<< "M_.pac_expectation." << model_name << ".growth_index = "
|
||||||
|
@ -7459,6 +7460,7 @@ PacExpectationNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
|
||||||
cerr << "pac_expectation: error encountered in growth type" << endl;
|
cerr << "pac_expectation: error encountered in growth type" << endl;
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
output << "M_.pac_expectation." << model_name << ".equation_params = [";
|
output << "M_.pac_expectation." << model_name << ".equation_params = [";
|
||||||
for (set<pair<int, pair<int, int> > >::const_iterator it = params_and_vals.begin();
|
for (set<pair<int, pair<int, int> > >::const_iterator it = params_and_vals.begin();
|
||||||
|
|
Loading…
Reference in New Issue