Fix display of parameter names changed during estimation

Relied on the wrong ordering
time-shift
Johannes Pfeifer 2015-10-28 15:34:14 +01:00
parent 3f3e05d23d
commit 1def4f357a
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ if isfield(EstimatedParameters,'param_vals') && ~isempty(EstimatedParameters.par
if ~isempty(changed_par_indices)
fprintf('\nThe steady state file internally changed the values of the following estimated parameters:\n')
disp(Model.param_names(changed_par_indices,:));
disp(Model.param_names(EstimatedParameters.param_vals(changed_par_indices,1),:));
fprintf('This will override the parameter values drawn from the proposal density and may lead to wrong results.\n')
fprintf('Check whether this is really intended.\n')
warning('The steady state file internally changes the values of the estimated parameters.')