Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
90cb2ffb
Commit
90cb2ffb
authored
Apr 03, 2012
by
Sébastien Villemot
Browse files
Under Octave >= 3.4, don't sleep for 2 seconds
parent
ab40dca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare.m
View file @
90cb2ffb
...
...
@@ -16,7 +16,7 @@ function dynare(fname, varargin)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2001-201
1
Dynare Team
% Copyright (C) 2001-201
2
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -101,9 +101,10 @@ for i=2:nargin
command
=
[
command
' '
varargin
{
i
-
1
}];
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
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
)
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment