From 1669b274a25011f752dd89091d5940bd20b1dff6 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Tue, 27 Sep 2016 15:11:42 +0200 Subject: [PATCH] fixed bug whith recursive estimation and mode_compute=0 --- matlab/dynare_estimation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/dynare_estimation.m b/matlab/dynare_estimation.m index bb1b47c34..32d91c377 100644 --- a/matlab/dynare_estimation.m +++ b/matlab/dynare_estimation.m @@ -87,7 +87,7 @@ if nnobs>1 || nfirstobs > 1 M_.dname = [dname '_' int2str(first_obs(i))]; end dynare_estimation_1(var_list,M_.dname); - if isequal(i,1) + if isequal(i,1) && options_.mode_compute ~= 0 options_.mode_file = [M_.fname '_mode']; end if options_.recursive_estimation_restart