From d96e74408d4ae7fd5ffbd3b9907c40c962c74abd Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> 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 (cherry picked from commit 8aad715183239facd2e2b1a29298ecda873dbb3b) --- 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 98875fb917..1b4fdba0fa 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. -- GitLab