Error in gmm_2stage_estimation (line 96)
[x_est_1st(nn, :), trialfval(nn)] = patternsearch(@msmf_corr_coeff, trialx(nn, :), [], [], [], [], LB, UB, @nonlinearcons_msm, options_ps);
Error in master (line 564)
gmm_2stage_estimation;
'''monte-compare-cmaes'''