From d423ae63a84b3808b06606aa47cb892aa0ce8f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Karaba=29?= Date: Tue, 14 Oct 2014 17:11:23 +0200 Subject: [PATCH] Set default value for last input argument of lyapunov_symm routine (debug flag). --- matlab/lyapunov_symm.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/matlab/lyapunov_symm.m b/matlab/lyapunov_symm.m index 5f9f49f6b..b694b1354 100644 --- a/matlab/lyapunov_symm.m +++ b/matlab/lyapunov_symm.m @@ -43,10 +43,15 @@ function [x,u] = lyapunov_symm(a,b,third_argument,lyapunov_complex_threshold,met % % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . + if nargin<5 || isempty(method) method = 0; end +if nargin<7 + debug = 0; +end + if method == 3 persistent X method1; if ~isempty(method1)