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

In MATLAB >= 7.7, don't display a warning if we use deprecated interface to...

In MATLAB >= 7.7, don't display a warning if we use deprecated interface to set seed of random number generators
(cherry picked from commit a98a5106)
parent 8dadaafb
No related branches found
Tags
Loading
...@@ -44,4 +44,8 @@ if exist('OCTAVE_VERSION') ...@@ -44,4 +44,8 @@ if exist('OCTAVE_VERSION')
warning('off', 'Octave:string-concat'); warning('off', 'Octave:string-concat');
warning('off', 'Octave:variable-switch-label'); warning('off', 'Octave:variable-switch-label');
warning('off', 'Octave:fortran-indexing'); warning('off', 'Octave:fortran-indexing');
else
% In MATLAB >= 7.7, don't display a warning if we use deprecated
% interface to set seed of random number generators
warning('off', 'MATLAB:RandStream:ActivatingLegacyGenerators');
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment