Fixed bug (dynare path has to be defined sooner, otherwise isoctave is unknown in warning_config).
parent
aa5efbcf0c
commit
b99db45707
|
@ -44,6 +44,9 @@ if strcmpi(fname,'help')
|
|||
return
|
||||
end
|
||||
|
||||
% detect if MEX files are present; if not, use alternative M-files
|
||||
dynareroot = dynare_config;
|
||||
|
||||
warning_config()
|
||||
|
||||
if isoctave
|
||||
|
@ -64,9 +67,6 @@ if isoctave
|
|||
default_save_options('-mat')
|
||||
end
|
||||
|
||||
% detect if MEX files are present; if not, use alternative M-files
|
||||
dynareroot = dynare_config;
|
||||
|
||||
if nargin < 1
|
||||
error('DYNARE: you must provide the name of the MOD file in argument')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue