Commit 42487be4 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Change fields in options_ for {irf,moment}_calibration.

Ref #267
parent 7a3ff5b7
......@@ -396,7 +396,7 @@ MomentCalibration::MomentCalibration(const constraints_t &constraints_arg,
void
MomentCalibration::writeOutput(ostream &output, const string &basename) const
{
output << "options_.moment_calibration = {" << endl;
output << "options_.endogenous_prior_restrictions.moment = {" << endl;
for (size_t i = 0; i < constraints.size(); i++)
{
const Constraint &c = constraints[i];
......@@ -418,7 +418,7 @@ IrfCalibration::IrfCalibration(const constraints_t &constraints_arg,
void
IrfCalibration::writeOutput(ostream &output, const string &basename) const
{
output << "options_.irf_calibration = {" << endl;
output << "options_.endogenous_prior_restrictions.irf = {" << endl;
for (size_t i = 0; i < constraints.size(); i++)
{
const Constraint &c = constraints[i];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment