Cosmetic fix to wording of error message in resol.m

time-shift
Johannes Pfeifer 2014-10-31 09:15:07 +01:00 committed by Michel Juillard
parent b76bc6d79e
commit 9f20aaa8e4
1 changed files with 7 additions and 7 deletions

View File

@ -119,15 +119,15 @@ if options.loglinear
fprintf(' - %s (%s)\n',deblank(variables_with_non_positive_steady_state(var_iter,:)), num2str(dr.ys(idx(var_iter)))) fprintf(' - %s (%s)\n',deblank(variables_with_non_positive_steady_state(var_iter,:)), num2str(dr.ys(idx(var_iter))))
end end
if isestimation() if isestimation()
fprintf('You should check that the priors and/or bounds over the deep parameters are such') fprintf('You should check that the priors and/or bounds over the deep parameters are such\n')
fprintf('the steady state levels of all the variables are strictly positive, or consider') fprintf('that the steady state levels of all the variables are strictly positive, or consider\n')
fprintf('a linearization of the model instead of a log linearization.') fprintf('a linearization of the model instead of a log linearization.\n')
else else
fprintf('You should check that the calibration of the deep parameters is such that the') fprintf('You should check that the calibration of the deep parameters is such that the\n')
fprintf('steady state levels of all the variables are strictly positive, or consider') fprintf('steady state levels of all the variables are strictly positive, or consider\n')
fprintf('a linearization of the model instead of a log linearization.') fprintf('a linearization of the model instead of a log linearization.\n')
end end
error('stoch_simul::resol: The loglinearization of the model cannot be performed because the steady state is not strictly positive!') error('stoch_simul::resol: The loglinearization of the model cannot be performed, because the steady state is not strictly positive!')
end end
end end