From 0d1aa9062ec19b34afd8f0c9720ab55e50021be0 Mon Sep 17 00:00:00 2001 From: Marco Ratto <marco.ratto@ec.europa.eu> Date: Thu, 20 Oct 2022 19:09:52 +0200 Subject: [PATCH] cosmetic change (cherry picked from commit e31b313776574f600c53ad0c69040e31dc6fbcfc) --- matlab/+occbin/solve_one_constraint.m | 2 +- matlab/+occbin/solve_two_constraints.m | 2 +- matlab/get_error_message.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/+occbin/solve_one_constraint.m b/matlab/+occbin/solve_one_constraint.m index 5b710cff5a..bf44f4ce26 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 15c8ae1c2a..77514f2733 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 cb236cfd2b..72b95ac76f 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 -- GitLab