Seed: fix bug under Octave and MATLAB < 7.7
parent
1fc8bbd6d3
commit
116bf69fbf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue