From 29d1e80eda076e556d6454ce880acb4b445dbc9b Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Sun, 9 Oct 2016 22:15:48 +0200
Subject: [PATCH] Decrease verbosity of solve_algo=0

Shuts off display unless debugging is requested. Otherwise, estimation will clutter the screen
---
 matlab/dynare_solve.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/matlab/dynare_solve.m b/matlab/dynare_solve.m
index 59cb325a69..d70c2c2fdb 100644
--- a/matlab/dynare_solve.m
+++ b/matlab/dynare_solve.m
@@ -93,7 +93,11 @@ if options.solve_algo == 0
     options4fsolve.MaxFunEvals = 50000;
     options4fsolve.MaxIter = maxit;
     options4fsolve.TolFun = tolf;
-    options4fsolve.Display = 'iter';
+    if options.debug==1
+        options4fsolve.Display = 'final';
+    else
+        options4fsolve.Display = 'off';
+    end
     if jacobian_flag
         options4fsolve.Jacobian = 'on';
     else
-- 
GitLab