From af9e30c6588df69ecccd8d68d3a0987121929391 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sun, 16 Nov 2014 14:35:58 +0100 Subject: [PATCH] Change display of failed solution to a warning Problem can be missed too easily otherwise --- matlab/perfect_foresight_solver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/perfect_foresight_solver.m b/matlab/perfect_foresight_solver.m index ec88ab319..bfeb16e4f 100644 --- a/matlab/perfect_foresight_solver.m +++ b/matlab/perfect_foresight_solver.m @@ -141,7 +141,7 @@ end if oo_.deterministic_simulation.status == 1 disp('Perfect foresight solution found.') else - disp('Failed to solve perfect foresight model') + warning('Failed to solve perfect foresight model') end dyn2vec;