Skip to content
Snippets Groups Projects
Commit 410f8bd0 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Cosmetic change and fixed copyright header.

parent 3679afe8
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ function [H,G,retcode]=discretionary_policy_engine(AAlag,AA0,AAlead,BB,bigw,inst
% Dennis, Richard (2007): Optimal policy in rational expectations models: new solution algorithms,
% Macroeconomic Dynamics, 11, 31–55.
% Copyright (C) 2007-2017 Dynare Team
% Copyright (C) 2007-2018 Dynare Team
%
% This file is part of Dynare.
%
......@@ -112,7 +112,7 @@ F1=F10;
while 1
iter=iter+1;
P=SylvesterDoubling(W+beta*F1'*Q*F1,beta*H1',H1,discretion_tol,solve_maxit);
if any(any(isnan(P))) || any(any(isinf(P)))
if any(any(isnan(P))) || any(any(isinf(P)))
P=SylvesterHessenbergSchur(W+beta*F1'*Q*F1,beta*H1',H1);
if any(any(isnan(P))) || any(any(isinf(P)))
retcode=2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment