Skip to content
Snippets Groups Projects
Verified Commit d8105a32 authored by Willi Mutschler's avatar Willi Mutschler
Browse files

Cosmetical changes

parent 960c0754
Branches
Tags
No related merge requests found
......@@ -12,7 +12,7 @@ function [DirectoryName, info] = CheckPath(type,dname)
% SPECIAL REQUIREMENTS
% none
% Copyright © 2005-2017 Dynare Team
% Copyright © 2005-2023 Dynare Team
%
% This file is part of Dynare.
%
......@@ -31,7 +31,7 @@ function [DirectoryName, info] = CheckPath(type,dname)
info = 0;
DirectoryName = [ dname '/' type ];
DirectoryName = [ dname filesep type ];
if ~isdir(dname)
% Make sure there isn't a file with the same name, see trac ticket #47
......
......@@ -174,7 +174,7 @@ if ncn
end
if any(xparam1(1:nvx+nvn)<0)
warning('Some estimated standard deviations are negative. Dynare internally works with variances so that the sign does not matter. Nevertheless, it is recommended to impose either prior restrictions (Bayesian Estimation) or a lower bound (ML) to assure positive values.')
warning(sprintf('Some estimated standard deviations are negative.\n Dynare internally works with variances so that the sign does not matter.\n Nevertheless, it is recommended to impose either prior restrictions (Bayesian Estimation)\n or a lower bound (ML) to assure positive values.'))
end
OutputDirectoryName = CheckPath('Output',M_.dname);
......
......@@ -5,7 +5,7 @@ function [xparam1, estim_params_, bayestopt_, lb, ub, M_]=set_prior(estim_params
% INPUTS
% o estim_params_ [structure] characterizing parameters to be estimated.
% o M_ [structure] characterizing the model.
% o options_ [structure]
% o options_ [structure] characterizing the options.
%
% OUTPUTS
% o xparam1 [double] vector of parameters to be estimated (initial values)
......@@ -18,7 +18,7 @@ function [xparam1, estim_params_, bayestopt_, lb, ub, M_]=set_prior(estim_params
% SPECIAL REQUIREMENTS
% None
% Copyright © 2003-2018 Dynare Team
% Copyright © 2003-2023 Dynare Team
%
% This file is part of Dynare.
%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment