diff --git a/matlab/+occbin/solve_one_constraint.m b/matlab/+occbin/solve_one_constraint.m index 5b710cff5a467e49b573044a2295ca3c4c9343a5..bf44f4ce26385747a4fdf98caf40f18a1f612dd3 100644 --- a/matlab/+occbin/solve_one_constraint.m +++ b/matlab/+occbin/solve_one_constraint.m @@ -314,7 +314,7 @@ for shock_period = 1:n_shocks_periods end else if is_periodic_loop - disp_verbose('Did not converge -- infinite loop of regimes.',opts_simul_.debug) + disp_verbose('Did not converge -- infinite loop of guess regimes.',opts_simul_.debug) error_flag = 313; else disp_verbose('Did not converge -- increase maxit.',opts_simul_.debug) diff --git a/matlab/+occbin/solve_two_constraints.m b/matlab/+occbin/solve_two_constraints.m index 15c8ae1c2a819ff9c9d8daf72d364430f3800c42..77514f27331e8c4a889fb12749c59aaa08360f8a 100644 --- a/matlab/+occbin/solve_two_constraints.m +++ b/matlab/+occbin/solve_two_constraints.m @@ -343,7 +343,7 @@ for shock_period = 1:n_shocks_periods end else if is_periodic_loop - disp_verbose('Did not converge -- infinite loop of regimes.',opts_simul_.debug) + disp_verbose('Did not converge -- infinite loop of guess regimes.',opts_simul_.debug) error_flag = 313; else disp_verbose('Did not converge -- increase maxit.',opts_simul_.debug) diff --git a/matlab/get_error_message.m b/matlab/get_error_message.m index cb236cfd2bfbb347cb32387317b25eae0b9848de..72b95ac76f6f691d50c3e341797945960afbf04a 100644 --- a/matlab/get_error_message.m +++ b/matlab/get_error_message.m @@ -189,7 +189,7 @@ switch info(1) case 312 message = 'Occbin: Constraint(s) are binding at the end of the sample.'; case 313 - message = 'Occbin: Simulation did not converge -- infinite loop of regimes'; + message = 'Occbin: Simulation did not converge -- infinite loop of guess regimes'; case 320 message = 'Piecewise linear Kalman filter: There was a problem in obtaining the likelihood.'; otherwise