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
......@@ -64,7 +64,9 @@ decomp = [];
vobs = length(options_.varobs);
smpl = size(Y,2);
M_ = set_all_parameters(xparam1,estim_params_,M_);
if ~isempty(xparam1) %not calibrated model
M_ = set_all_parameters(xparam1,estim_params_,M_);
% 2. call model setup & reduction program
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment