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

Octave 7 now has rng

parent 971a89fb
No related branches found
No related tags found
No related merge requests found
% Copyright © 2013-2020 Dynare Team
% Copyright © 2013-2022 Dynare Team
%
% This file is part of Dynare.
%
......@@ -39,7 +39,7 @@ if isoctave
end
% Set random seed, for reproducibility
if isoctave
if isoctave && octave_ver_less_than('7')
randn('state',1);
rand('state',1);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment