Skip to content
Snippets Groups Projects
Commit 22b1aa7a authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Filter out case where estimated_params block is present but smoother on calibration is requested

In this case, xparam1 will be empty while estim_params_ does not have conformable dimensions.
parent 8bc946c1
No related branches found
No related tags found
1 merge request!960Filter out case where estimated_params block is present but smoother …
...@@ -64,7 +64,9 @@ decomp = []; ...@@ -64,7 +64,9 @@ decomp = [];
vobs = length(options_.varobs); vobs = length(options_.varobs);
smpl = size(Y,2); smpl = size(Y,2);
if ~isempty(xparam1) %not calibrated model
M_ = set_all_parameters(xparam1,estim_params_,M_); M_ = set_all_parameters(xparam1,estim_params_,M_);
end
%------------------------------------------------------------------------------ %------------------------------------------------------------------------------
% 2. call model setup & reduction program % 2. call model setup & reduction program
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment