Commit 116bf69f authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Seed: fix bug under Octave and MATLAB < 7.7

parent 1fc8bbd6
......@@ -24,10 +24,7 @@ if ~nargin
error('set_dynare_seed:: I need at least one input argument!')
end
matlab_random_streams = 1;
if exist('OCTAVE_VERSION') || matlab_ver_less_than('7.7')
matlab_random_streams = 1;
end
matlab_random_streams = ~(exist('OCTAVE_VERSION') || matlab_ver_less_than('7.7'));
if matlab_random_streams% Use new matlab interface.
if nargin==1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment