From 8aad715183239facd2e2b1a29298ecda873dbb3b Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sun, 2 Feb 2020 14:15:01 +0100 Subject: [PATCH] det_cond_forecast.m: always set options_.qz_criterium Closes https://git.dynare.org/Dynare/dynare/issues/1701 --- matlab/perfect-foresight-models/det_cond_forecast.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matlab/perfect-foresight-models/det_cond_forecast.m b/matlab/perfect-foresight-models/det_cond_forecast.m index cdcbe24d7..8c50b1e96 100644 --- a/matlab/perfect-foresight-models/det_cond_forecast.m +++ b/matlab/perfect-foresight-models/det_cond_forecast.m @@ -36,6 +36,9 @@ verbosity = options_.verbosity; if options_.periods == 0 options_.periods = 25; end +if isempty(options_.qz_criterium) + options_.qz_criterium = 1+1e-6; +end %We have to get an initial guess for the conditional forecast % and terminal conditions for the non-stationary variables, we % use the first order approximation of the rational expectation solution.