From 159cdea475b418249c9ef0305f8bdb5edf06a8c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 17 Mar 2014 16:45:43 +0100
Subject: [PATCH] Change fields in options_ for {irf,moment}_calibration.

Ref #267
---
 preprocessor/Shocks.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/preprocessor/Shocks.cc b/preprocessor/Shocks.cc
index 1d25d4b1a3..d9af2d0526 100644
--- a/preprocessor/Shocks.cc
+++ b/preprocessor/Shocks.cc
@@ -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];
-- 
GitLab