Fix mode_compute=12 and filter out mode_compute=11
parent
c397828eb7
commit
fbb1272164
|
@ -788,7 +788,7 @@ for i = 1:length(optimizer_vec)
|
|||
case 10
|
||||
fprintf('\n %s=10): simpsa',str);
|
||||
case 11
|
||||
fprintf('\n %s=11): online_auxiliary_filter',str);
|
||||
error('\nmethod_of_moments: online_auxiliary_filter (mode_compute=11) is only supported with likelihood-based estimation techniques');
|
||||
case 12
|
||||
fprintf('\n %s=12): particleswarm',str);
|
||||
case 101
|
||||
|
|
|
@ -64,6 +64,9 @@ junk2 = [];
|
|||
% 1. Get the structural parameters & define penalties
|
||||
%--------------------------------------------------------------------------
|
||||
|
||||
% Ensure that xparam1 is a column vector; particleswarm.m requires this.
|
||||
xparam1 = xparam1(:);
|
||||
|
||||
M_ = set_all_parameters(xparam1, estim_params_, M_);
|
||||
|
||||
[fval,info,exit_flag]=check_bounds_and_definiteness_estimation(xparam1, M_, estim_params_, Bounds);
|
||||
|
|
Loading…
Reference in New Issue