diff --git a/matlab/+occbin/solve_one_constraint.m b/matlab/+occbin/solve_one_constraint.m index 5b710cff5..bf44f4ce2 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 15c8ae1c2..77514f273 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 9d9cdae45..57063a7d4 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.'; case 401