Skip to content
Snippets Groups Projects
Commit b99db457 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (dynare path has to be defined sooner, otherwise isoctave is unknown in warning_config).

parent aa5efbcf
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,9 @@ if strcmpi(fname,'help') ...@@ -44,6 +44,9 @@ if strcmpi(fname,'help')
return return
end end
% detect if MEX files are present; if not, use alternative M-files
dynareroot = dynare_config;
warning_config() warning_config()
if isoctave if isoctave
...@@ -64,9 +67,6 @@ if isoctave ...@@ -64,9 +67,6 @@ if isoctave
default_save_options('-mat') default_save_options('-mat')
end end
% detect if MEX files are present; if not, use alternative M-files
dynareroot = dynare_config;
if nargin < 1 if nargin < 1
error('DYNARE: you must provide the name of the MOD file in argument') error('DYNARE: you must provide the name of the MOD file in argument')
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment