From 10b6a794ad3382b3e1981b3f322d39d19745f5d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Fri, 20 Jan 2017 17:35:43 +0100
Subject: [PATCH] Fixed bug.

NO_POSTERIOR_KERNEL_DENSITY option was not modifying the expected field in
options_, consequently this option was no honored.
---
 DynareBison.yy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DynareBison.yy b/DynareBison.yy
index 2c37056c..8ea9b10d 100644
--- a/DynareBison.yy
+++ b/DynareBison.yy
@@ -2864,7 +2864,7 @@ o_optim : OPTIM  EQUAL '(' optim_options ')';
 o_posterior_sampler_options : POSTERIOR_SAMPLER_OPTIONS EQUAL '(' sampling_options ')' ;
 o_proposal_distribution : PROPOSAL_DISTRIBUTION EQUAL symbol { driver.option_str("posterior_sampler_options.posterior_sampling_method.proposal_distribution", $3); };
 o_no_posterior_kernel_density : NO_POSTERIOR_KERNEL_DENSITY
-                             { driver.option_num("moments_posterior_density.indicator", "0"); }
+                             { driver.option_num("estimation.moments_posterior_density.indicator", "0"); }
                            ;
 o_mh_init_scale : MH_INIT_SCALE EQUAL non_negative_number { driver.option_num("mh_init_scale", $3); };
 o_mode_file : MODE_FILE EQUAL filename { driver.option_str("mode_file", $3); };
-- 
GitLab