Merge pull request #1504 from JohannesPfeifer/patch-1

lyapunov_solver: Eliminate confusing transpose
time-shift
Stéphane Adjemian 2017-10-03 13:52:06 +02:00 committed by GitHub
commit a2916fef2c
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ function P=lyapunov_solver(T,R,Q,DynareOptions) % --*-- Unitary tests --*--
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if DynareOptions.lyapunov_fp == 1
P = lyapunov_symm(T,R*Q'*R',DynareOptions.lyapunov_fixed_point_tol,DynareOptions.qz_criterium,DynareOptions.lyapunov_complex_threshold, 3, DynareOptions.debug);
P = lyapunov_symm(T,R*Q*R',DynareOptions.lyapunov_fixed_point_tol,DynareOptions.qz_criterium,DynareOptions.lyapunov_complex_threshold, 3, DynareOptions.debug);
elseif DynareOptions.lyapunov_db == 1
[P, errorflag] = disclyap_fast(T,R*Q*R',DynareOptions.lyapunov_doubling_tol);
if errorflag %use Schur-based method
@ -183,4 +183,4 @@ end
%$ end
%$
%$ T = all(t);
%@eof:1
%@eof:1