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
|
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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue