Fixed bug affecting prior restictions (removed the extension in the argument of str2func).
parent
adbecb6fc9
commit
1e4c2e0881
|
@ -133,7 +133,7 @@ end
|
||||||
% Check if a _prior_restrictions.m file exists
|
% Check if a _prior_restrictions.m file exists
|
||||||
if exist([M_.fname '_prior_restrictions.m'])
|
if exist([M_.fname '_prior_restrictions.m'])
|
||||||
options_.prior_restrictions.status = 1;
|
options_.prior_restrictions.status = 1;
|
||||||
options_.prior_restrictions.routine = str2func([M_.fname '_prior_restrictions.m']);
|
options_.prior_restrictions.routine = str2func([M_.fname '_prior_restrictions']);
|
||||||
end
|
end
|
||||||
|
|
||||||
% Check that the provided mode_file is compatible with the current estimation settings.
|
% Check that the provided mode_file is compatible with the current estimation settings.
|
||||||
|
|
Loading…
Reference in New Issue