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

Under Octave >= 3.4, don't sleep for 2 seconds

parent ab40dca6
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ function dynare(fname, varargin) ...@@ -16,7 +16,7 @@ function dynare(fname, varargin)
% SPECIAL REQUIREMENTS % SPECIAL REQUIREMENTS
% none % none
% Copyright (C) 2001-2011 Dynare Team % Copyright (C) 2001-2012 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -101,9 +101,10 @@ for i=2:nargin ...@@ -101,9 +101,10 @@ for i=2:nargin
command = [command ' ' varargin{i-1}]; command = [command ' ' varargin{i-1}];
end end
% Workaround for bug in Octave >= 3.2 % Workaround for bug in Octave 3.2
% See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550823 % See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550823
if exist('OCTAVE_VERSION') && ~octave_ver_less_than('3.2.0') if exist('OCTAVE_VERSION') && ~octave_ver_less_than('3.2.0') ...
&& octave_ver_less_than('3.4.0')
sleep(2) sleep(2)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment