In dr_block, debugging information printed out should not be handled with options_.verbosity. Adding an additional optional argument to handle the debugging information

time-shift
ferhat 2015-01-21 13:48:25 +01:00
parent a224962eb4
commit 5d9b25d2be
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_)
function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_,varargin)
% function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_)
% computes the reduced form solution of a rational expectation model (first
% approximation of the stochastic model around the deterministic steady state).
@ -51,7 +51,11 @@ function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
info = 0;
verbose = options_.verbosity;
verbose = 0;
if nargin > 5
verbose = varargin{1};
end
%verbose = options_.verbosity;
if options_.order > 1
error('2nd and 3rd order approximation not implemented with block option')
end