Skip to content
Snippets Groups Projects
Commit e62613e6 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix string warnings for Octave 3.6

parent c5fa0b82
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ function warning_config() ...@@ -10,7 +10,7 @@ function warning_config()
% SPECIAL REQUIREMENTS % SPECIAL REQUIREMENTS
% none % none
% Copyright (C) 2008-2010 Dynare Team % Copyright (C) 2008-2012 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -41,7 +41,11 @@ if exist('OCTAVE_VERSION') ...@@ -41,7 +41,11 @@ if exist('OCTAVE_VERSION')
warning('off', 'Octave:num-to-str'); warning('off', 'Octave:num-to-str');
warning('off', 'Octave:resize-on-range-error'); warning('off', 'Octave:resize-on-range-error');
warning('off', 'Octave:str-to-num'); warning('off', 'Octave:str-to-num');
if octave_ver_less_than('3.6')
warning('off', 'Octave:string-concat'); warning('off', 'Octave:string-concat');
else
warning('off', 'Octave:mixed-string-concat');
end
warning('off', 'Octave:variable-switch-label'); warning('off', 'Octave:variable-switch-label');
warning('off', 'Octave:fortran-indexing'); warning('off', 'Octave:fortran-indexing');
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment