Set default value for last input argument of lyapunov_symm routine (debug flag).

time-shift
Stéphane Adjemian (Karaba) 2014-10-14 17:11:23 +02:00
parent c8ac7007f0
commit d423ae63a8
1 changed files with 5 additions and 0 deletions

View File

@ -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 <http://www.gnu.org/licenses/>.
if nargin<5 || isempty(method)
method = 0;
end
if nargin<7
debug = 0;
end
if method == 3
persistent X method1;
if ~isempty(method1)